Image datatype.
Native image datatype. Contains image data, which can be converted to a texture, and several functions to interact with it.
Alpha-blends a "src_rect" [Rect2] from "src" [code]Image[/code] to this [code]Image[/code] on coordinates "dest".
Alpha-blends a "src_rect" [Rect2] from "src" [code]Image[/code] to this [code]Image[/code] using a "mask" [code]Image[/code] on coordinates "dest". Alpha channels are required for both "src" and "mask", dest pixels and src pixels will blend if the corresponding mask pixel's alpha value is not 0. "src" [code]Image[/code] and "mask" [code]Image[/code] *must* have the same size (width and height) but they can have different formats
Copy a "src_rect" [Rect2] from "src" [code]Image[/code] to this [code]Image[/code] on coordinates "dest".
Blits a "src_rect" [Rect2] from "src" [code]Image[/code] to this [code]Image[/code] using a "mask" [code]Image[/code] on coordinates "dest". Alpha channel is required for "mask", will copy src pixel onto dest if the corresponding mask pixel's alpha value is not 0. "src" [code]Image[/code] and "mask" [code]Image[/code] *must* have the same size (width and height) but they can have different formats
Create an empty image of a specific size and format.
Fills an [code]Image[/code] with a specified [Color]
Return the raw data of the [code]Image[/code].
Return the format of the [code]Image[/code], one of [code]Image[/code].FORMAT_*.
Return the height of the [code]Image[/code].
Return a new [code]Image[/code] that is a copy of "area" in this [code]Image[/code].
Return the area of this [code]Image[/code] that is used/visibly colored/opaque.
Return the width of the [code]Image[/code].
Load an [code]Image[/code].
Save this [code]Image[/code] as a png.