Skip to content

ImageToSl2Converter Class ​

Definition ​

Explicitly converts indexed images to a selected SL2 mode, palette encoding and header variant.

c#
public sealed class ImageToSl2Converter : IOFileConverter<ImageFile, Sl2File>

View source

Constructors ​

NameDescription
ImageToSl2Converter(ImageFormat, Sl2Format, ScreenPaletteEncoding, Boolean)Creates a converter without implicit palette generation, resizing or reindexing.

Methods ​

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