Skip to content

ImageToSprConverter Class ​

Definition ​

Converts an indexed image into 16 by 16 sprite patterns at an explicit bit depth, without remapping indices.

c#
public sealed class ImageToSprConverter : IOFileConverter<ImageFile, SprFile>

View source

Constructors ​

NameDescription
ImageToSprConverter(ImageFormat, SprFormat)Converts an indexed image into 16 by 16 sprite patterns at an explicit bit depth, without remapping indices.

Methods ​

NameDescription
Convert(ImageFile)Converts the given source file to the target format.