Difference between revisions of "love.image"

(Concept current)
Line 1: Line 1:
 
Provides an interface to decode encoded image data.
 
Provides an interface to decode encoded image data.
 
== Types ==
 
== Types ==
{{#ask: [[Category:Types]] [[parent::love.image]] [[Since::<071]]
+
{{#ask: [[Category:Types]] [[parent::love.image]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::love.image]] [[Since::<071]]
+
{{#ask: [[Category:Functions]] [[parent::love.image]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description
 
}}
 
}}
 
== Enums ==
 
== Enums ==
{{#ask: [[Category:Enums]] [[parent::love.image]] [[Since::<071]]
+
{{#ask: [[Category:Enums]] [[parent::love.image]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 15:03, 30 August 2011

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.
ImageEncodeFormatImage file formats supported by ImageData:encode.
PixelFormatPixel formats for Textures, ImageData, and CompressedImageData.

See Also


Other Languages