Difference between revisions of "love.image"

m
(See Also)
Line 34: Line 34:
 
}}
 
}}
 
== See Also ==
 
== See Also ==
 +
* [[love.graphics.newImage]]
 
* [[parent::love]]
 
* [[parent::love]]
 
* [[Image]] - the love.graphics data type
 
* [[Image]] - the love.graphics data type
Line 40: Line 41:
 
{{#set:Description=Provides an interface to decode encoded image data.}}
 
{{#set:Description=Provides an interface to decode encoded image data.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.image}}
 
{{i18n|love.image}}

Revision as of 21:37, 13 February 2022

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