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...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Provides an interface to decode encoded image data.提供一个解码图像数据的接口
+
为图像数据提供接口
 
== 类型 ==
 
== 类型 ==
 
{{#ask: [[Category:Types]] [[parent::love.image]] [[Concept:Current]]
 
{{#ask: [[Category:Types]] [[parent::love.image]] [[Concept:Current]]
Line 15: Line 15:
 
| ?Description
 
| ?Description
 
}}
 
}}
== See Also ==
+
== 参考 ==
* [[parent::love]]
+
* [[parent::love (简体中文)]]
 
* [[Image]] - the love.graphics data type
 
* [[Image]] - the love.graphics data type
 
[[Category:Modules]]
 
[[Category:Modules]]
{{#set:Description=Provides an interface to decode encoded image data.提供一个解码图像数据的接口}}
+
{{#set:Description=为图像数据提供接口}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.image}}
 
{{i18n|love.image}}

Latest revision as of 04:29, 23 August 2013

为图像数据提供接口

类型

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.

参考


Other Languages