Difference between revisions of "love.image"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Provides an interface to decode encoded image data. | |
== Types == | == Types == | ||
{{#ask: [[Category:Types]] [[parent::love.image]] | {{#ask: [[Category:Types]] [[parent::love.image]] | ||
Line 17: | Line 17: | ||
}} | }} | ||
[[Category:Modules]] | [[Category:Modules]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Provides an interface to decode encoded image data.}} |
== See Also == | == See Also == | ||
* [[parent::love]] | * [[parent::love]] |
Revision as of 16:17, 14 February 2010
Provides an interface to decode encoded image data.
Contents
Types
CompressedImageData | Compressed image data designed to stay compressed in RAM and on the GPU. |
ImageData | Raw (decoded) image data. |
Functions
love.image.isCompressed | Determines whether a file can be loaded as CompressedImageData. |
love.image.newCompressedData | Create a new CompressedImageData object from a compressed image file. |
love.image.newEncodedImageData | Encodes ImageData. |
love.image.newImageData | Creates a new ImageData object. |
Enums
CompressedImageFormat | Compressed image data formats. |
ImageEncodeFormat | Image file formats supported by ImageData:encode. |
PixelFormat | Pixel formats for Textures, ImageData, and CompressedImageData. |