love.image (简体中文)
Provides an interface to decode encoded image data.提供一个解码图像数据的接口
Contents
类型
CompressedImageData | Compressed image data designed to stay compressed in RAM and on the GPU. |
ImageData | Raw (decoded) image data. |
函数
love.image.isCompressed | Determines whether a file can be loaded as CompressedImageData. |
love.image.newCompressedData | Create a new CompressedImageData object from a compressed image file. |
love.image.newEncodedImageData | Encodes ImageData. |
love.image.newImageData | Creates a new ImageData object. |
枚举
CompressedImageFormat | Compressed image data formats. |
ImageEncodeFormat | Image file formats supported by ImageData:encode. |
PixelFormat | Pixel formats for Textures, ImageData, and CompressedImageData. |
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info