love.image.newEncodedImageData

Removed in LÖVE 0.8.0
It has been replaced by ImageData:encode.

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.

See Also


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.image.newEncodedImageData