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 18:17, 14 February 2010

Provides an interface to decode encoded image data.

Types

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

Functions

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.

Enums

CompressedImageFormatCompressed image data formats.
ImageFormatEncoded image formats.
PixelFormatPixel formats for Textures, ImageData, and CompressedImageData.

See Also