Looking for an image editing library

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
bengal_cat
Prole
Posts: 2
Joined: Sat Feb 20, 2016 9:11 pm

Looking for an image editing library

Post by bengal_cat »

Hi,

I'm making my first game using LÖVE2D. I wanted to implement a high score saving system and came up with a very obscure idea: editing random pixels' color values of the background sprite. All I need is a library that would allow me to access the file and edit it.

I saw that someone posted here about NekoLib, something that would fit this purpose very well, but it seems to be not available any more.

Do you know any small, simple libraries that would be useful?
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Looking for an image editing library

Post by s-ol »

Load image, Draw to a canvas, paint on top, get ImageData and write to file.

You have a fancy toolkit with openGl bindings - what do you need an image editing library for?

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Looking for an image editing library

Post by Jasoco »

Exactly what is said above. All the stuff you need is included in Löve's basic functions. Play around. Start by doing everything listed above in that order. Look up ImageData on the Wiki if you need to.
bengal_cat
Prole
Posts: 2
Joined: Sat Feb 20, 2016 9:11 pm

Re: Looking for an image editing library

Post by bengal_cat »

Ok, I didn't know you could do that. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests