{{oldin|[[0.8.0]]|080|type=function}}
Encodes ImageData.
== Function ==
=== Synopsis ===
<source lang="lua">
data = love.image.newEncodedImageData( imageData, format )
</source>
=== Arguments ===
{{param|ImageData|imageData|The raw ImageData to encode.}}
{{param|ImageFormat|format|The format to encode the image in.}}
=== Returns ===
{{param|Data|data|The encoded image data.}}
== See Also ==
* [[parent::love.image]]
[[Category:Functions]]
{{#set:Description=Encodes ImageData.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|love.image.newEncodedImageData}}