Is love capable of saving image files?

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.
Post Reply
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Is love capable of saving image files?

Post by veethree »

Hey guys.

So i recently started experimenting with generating tile based maps using a small image where different colored pixels represent a different tile and whatnot. And that works fine, And i might implement that in an actual game i'm working on, But in the same game i wanted to have an ingame map editor, So my question is, If i were to loop though a table full of tiles, depending on its type set a different pixel in an imagedata, Could i somehow export said imagedata as a .png file?

Any help is greatly appreciated. Thanks in advance.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Is love capable of saving image files?

Post by Nixola »

lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Semrush [Bot] and 9 guests