Skip to content

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);

View source

Parameters ​

NameTypeDescription
sourceFormatImageFormatThe source image format.
targetFormatSprFormatThe target format, including its explicit bit depth.