love.image.newEncodedImageData
Encodes ImageData.
Function
Synopsis
data = love.image.newEncodedImageData( imageData, format )
Arguments
ImageData imageData
- The raw ImageData to encode.
ImageFormat format
- The format to encode the image in.
Returns
Data data
- The encoded image data.