Image.toRGBA

Convert to an RGBA image.

Does nothing if the image is already an RGBA image. If it's a paletted image, decodes the colors using currently assigned palette. If it's an alpha mask, fills the image with white.

struct Image
pure nothrow
toRGBA
()

Return Value

Type: Image

Self if already in RGBA format, or a newly made image by converting the data.

Meta