Skip to content

ImageToSprConverter Constructors

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

public ImageToSprConverter(ImageFormat sourceFormat, SprFormat targetFormat);

View source

Parameters

Name Type Description
sourceFormat ImageFormat The source image format.
targetFormat SprFormat The target format, including its explicit bit depth.