Difference between revisions of "love.image"

Line 19: Line 19:
== See Also ==
== See Also ==
* [[parent::love]]
* [[parent::love]]
* [[Image]] - the love.graphics data type
== Other Languages ==
== Other Languages ==

Revision as of 18:41, 23 February 2011

Provides an interface to decode encoded image data.


CompressedImageDataCompressed image data designed to stay compressed in RAM and on the GPU.
ImageDataRaw (decoded) image data.


love.image.isCompressedDetermines whether a file can be loaded as CompressedImageData.
love.image.newCompressedDataCreate a new CompressedImageData object from a compressed image file.
love.image.newEncodedImageDataEncodes ImageData.
love.image.newImageDataCreates a new ImageData object.


CompressedImageFormatCompressed image data formats.
ImageEncodeFormatImage file formats supported by ImageData:encode.
PixelFormatPixel formats for Textures, ImageData, and CompressedImageData.

See Also

Other Languages