Reputation: 3
I need to know if it's possible to save an "ImageData" (or something like that) into a new file in Lua with Löve2D, and how ? If I can't, how can I do that ?
thank you in advance !
Upvotes: 0
Views: 831
Reputation: 486
Love2D ImagaData objects can be encoded via the "Encode" function, in Love 0.10.0
img:encode(type, filename)
in 0.8.0 and later, Type was not required.
Upvotes: 2