love.image (简体中文)

为图像数据提供接口

类型

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