Jazz2::Editor::AddTilesOptions struct

How the tiles of an image are cut and matched to the colors, see AddTilesFromImageAsync().

Public variables

bool SkipExisting
Whether a tile the tile set has already isn't added again.
bool Dither
Whether colors between two of the palette are mixed by a regular pattern.
bool ErrorDiffusion
Whether colors between two of the palette are mixed by spreading the error (Floyd-Steinberg).
std::int32_t OffsetX
Pixels left of the first column of tiles and above the first row.
std::int32_t OffsetY
std::int32_t SpacingX
Pixels between two tiles and between two rows of them.
std::int32_t SpacingY
bool UseColorKey
Whether pixels of ColorKey are transparent.
std::uint32_t ColorKey
Color of transparent pixels as R | G << 8 | B << 16, magenta.
std::int32_t AlphaThreshold
Alpha from which a pixel is opaque and a pixel of the masks is solid.