Jazz2::AssetPacker::Image struct

A decoded image, always four bytes per pixel.

The fonts keep a palette index in the red channel and coverage in the alpha channel, which is what the rest of the tool works with; the two other channels are only carried so an ordinary image editor shows something recognisable once FontPacker applies a palette.

Constructors, destructors, conversion operators

operator bool() const explicit

Public variables

std::int32_t Width
std::int32_t Height
std::unique_ptr<std::uint8_t[]> Pixels
RGBA, row by row.