love.image (简体中文)

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