Difference between revisions of "love.image"

(Applying listings to included added and removed fields.)
(5 intermediate revisions by 5 users not shown)
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]]
+
{{#ask: [[Category:Types]] [[parent::love.image]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::love.image]]
+
{{#ask: [[Category:Functions]] [[parent::love.image]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Enums ==
 
== Enums ==
{{#ask: [[Category:Enums]] [[parent::love.image]]
+
{{#ask: [[Category:Enums]] [[parent::love.image]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 +
== See Also ==
 +
* [[parent::love]]
 +
* [[Image]] - the love.graphics data type
 
[[Category:Modules]]
 
[[Category:Modules]]
 
{{#set:Description=Provides an interface to decode encoded image data.}}
 
{{#set:Description=Provides an interface to decode encoded image data.}}
== See Also ==
+
{{#set:Since=000}}
* [[parent::love]]
+
== Other Languages ==
 +
{{i18n|love.image}}

Revision as of 23:05, 29 March 2013

Provides an interface to decode encoded image data.

Types

CompressedImageData Compressed image data designed to stay compressed in RAM and on the GPU. Added since 0.9.0
ImageData Raw (decoded) image data.

Functions

love.image.isCompressed Determines whether a file can be loaded as CompressedImageData. Added since 0.9.0
love.image.newCompressedData Create a new CompressedImageData object from a compressed image file. Added since 0.9.0
love.image.newEncodedImageData Encodes ImageData. Removed in 0.8.0
love.image.newImageData Creates a new ImageData object.

Enums

CompressedImageFormat Compressed image data formats. Added since 0.9.0
ImageEncodeFormat Image file formats supported by ImageData:encode.
PixelFormat Pixel formats for Textures, ImageData, and CompressedImageData. Added since 11.0

See Also


Other Languages