ImageToSprConverter Constructors
Converts an indexed image into 16 by 16 sprite patterns at an explicit bit depth, without remapping indices.
c#
public ImageToSprConverter(ImageFormat sourceFormat, SprFormat targetFormat);Parameters
| Name | Type | Description |
|---|---|---|
sourceFormat | ImageFormat | The source image format. |
targetFormat | SprFormat | The target format, including its explicit bit depth. |