Page 1 of 1
Image without its background
Posted: Wed Apr 25, 2012 5:28 pm
by Krizzu
Hello!
Let's say we got dude like him:
And how can I delete or disable that pink background? Is there any way to disable/delete it in LOVE or should I use photo editor? (and which ona
)
Thanks You
Re: Image without its background
Posted: Wed Apr 25, 2012 5:37 pm
by Petunien
I would do it with a photo editor. Change the pink pixels to transparent ones or delete them easily.
You could use Paint.NET or Gimp.
Important is that you use an image-format like *.png, that allows transparent pixels.
Do not use *.jpg as example.
Re: Image without its background
Posted: Wed Apr 25, 2012 5:49 pm
by josefnpat
Krizzu wrote:Hello!
Let's say we got dude like him:
And how can I delete or disable that pink background? Is there any way to disable/delete it in LOVE or should I use photo editor? (and which ona :crazy: )
Thanks You :)
If you are allergic to gif or png images, you could load the data with
love.image.newImageData, and then set the pink pixel's (xFF00FF == {255,0,255}) to an alpha of zero.
In all honesty, using GIMP is the way to go.
Re: Image without its background
Posted: Wed Apr 25, 2012 5:59 pm
by Krizzu
I will play with paint.net, it's pretty cool. Thanks guys, hope there are more people helpful like You.