Difference between revisions of "love.image.newEncodedImageData"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Encodes ImageData. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 14: | Line 14: | ||
* [[parent::love.image]] | * [[parent::love.image]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Encodes ImageData.}} |
Revision as of 16:17, 14 February 2010
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.