Saving Images
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Saving Images
How would one go about saving images (love.graphics.newImage) and/or canvases from a running love file to the computer?
Learning to Löve.
Re: Saving Images
image:[wiki=(Image):getData]getData[/wiki]():[wiki=ImageData:encode]encode[/wiki]("png", "image.png")
Or: [wiki]Canvas:newImageData[/wiki]():encode("png", "canvas.png")
Or: [wiki]Canvas:newImageData[/wiki]():encode("png", "canvas.png")
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests