Ravenshade
January 20th, 2011, 12:42 PM
I'm using G++ -lSDL, lSDL_image
Gedit for editing
Hi,
I'm using IMG_Load() to load an image into my program, happens to be a png I haven't particularly tested with others. I used gimp to fade out the edges. When I give this to the program however I get one a number of results.
If I merge all visible layers... the image I give it gets a darker background layer (considering I deleted it, which is a puzzle in itself) and doesn't show through what's underneath. Secondly it gets a 1px Black Single Line border all around it.
Now. If I 'flatten' the image, I get a white background, to be honest I expected this, as it just seems to wipe out the transparency effects.
Does anyone know why this is happening and how I can solve the problem?
I haven't tried Colorkeying, as for the fact that on Lazy Foo's website it suggests that if I combined png's and color keying I would get 'funky' results, and as a beginner, I'm not wanting to get funky results just yet.
Thanks for reading.
Gedit for editing
Hi,
I'm using IMG_Load() to load an image into my program, happens to be a png I haven't particularly tested with others. I used gimp to fade out the edges. When I give this to the program however I get one a number of results.
If I merge all visible layers... the image I give it gets a darker background layer (considering I deleted it, which is a puzzle in itself) and doesn't show through what's underneath. Secondly it gets a 1px Black Single Line border all around it.
Now. If I 'flatten' the image, I get a white background, to be honest I expected this, as it just seems to wipe out the transparency effects.
Does anyone know why this is happening and how I can solve the problem?
I haven't tried Colorkeying, as for the fact that on Lazy Foo's website it suggests that if I combined png's and color keying I would get 'funky' results, and as a beginner, I'm not wanting to get funky results just yet.
Thanks for reading.