[SOLVED]Saving images opened via filedropped

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Saving images opened via filedropped

Post by bartbes »

jalamaya wrote:

Code: Select all

file:write(tostring(love.image.newImageData(love.filesystem.newFileData(data, 'img', 'file'))))
That only gets you a string with some type information, so that's what you don't want to do.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests