Difference between revisions of "love.image (简体中文)"

(Created page with "Provides an interface to decode encoded image data.提供一个解码图像数据的接口 == 类型 == {{#ask: Category:Types parent::love.image Concept:Current | he...")
 
(More parent corrections.)
Line 16: Line 16:
 
}}
 
}}
 
== See Also ==
 
== See Also ==
* [[parent::love]]
+
* [[parent::love (简体中文)]]
 
* [[Image]] - the love.graphics data type
 
* [[Image]] - the love.graphics data type
 
[[Category:Modules]]
 
[[Category:Modules]]

Revision as of 03:08, 15 April 2012

Provides an interface to decode encoded image data.提供一个解码图像数据的接口

类型

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

函数

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.

枚举

CompressedImageFormatCompressed image data formats.
ImageEncodeFormatImage file formats supported by ImageData:encode.
PixelFormatPixel formats for Textures, ImageData, and CompressedImageData.

See Also


Other Languages