Skip to content

ImageToSlrConverter Class ​

Definition ​

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

c#
public sealed class ImageToSlrConverter : IOFileConverter<ImageFile, SlrFile>

View source

Constructors ​

NameDescription
ImageToSlrConverter(ImageFormat, SlrFormat, 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.