gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > Problem with degraded magenta in sprite (GIMP)

#90906 - Nuja - Mon Jul 03, 2006 11:36 am

Hi,
I don't know how or what is doing that but the FF00FF color get replaced by some others color (little bit degraded around the sprite) when i switch to 256 color mode.

Here is the way I convert sprite:
1) I open the picture (sprite without background) and copy it.
2) I make a new file: 256*256pixel
3) I paste the sprite
4) I make a new layer which is full of margenta color
5) I reduce the size of the sprite: 64*64pixel then I save.

Once I did that (1 or 2 times for example), I make a new file which is the number of sprite files's height*64 pixel width.
I copy paste every sprite into a different layer. Once I'm done with the copy pasting thing, I switch to 256 color mode and HERE happend the drama !!! :/ the FF00FF color is replaced and the color(s) around the sprite is a little bit degraded. U can guess the result of playing the sprite xD.

(all of that is done with THE GIMP)

Can someone tell me the problem ? what is changing the color ? Is there a way to stop it from doing that
? (I can't manualy change the new colors because as it is a little bit degraded, there are too much colors to change :/)

Thank in advance ++

#90948 - tepples - Mon Jul 03, 2006 6:07 pm

By "degraded" what do you mean?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#90952 - yuriks - Mon Jul 03, 2006 6:13 pm

Proably "dithered".

You may want to disable dithring when you convert to indexed mode.

BTW, Gimp sucks for palette work, anyone know a good app that does palette/pixeling stuff on Linux?
_________________
---yuriks---

#91007 - keldon - Mon Jul 03, 2006 10:34 pm

yuriks wrote:
Proably "dithered".

You may want to disable dithring when you convert to indexed mode.

BTW, Gimp sucks for palette work, anyone know a good app that does palette/pixeling stuff on Linux?


Try the gimp. It was used for sinbad the sailor and shrek 2 so it can't be that bad. And it has been fine for me; although I do occasionally use usenti.

#112475 - steve343 - Sat Dec 16, 2006 6:43 pm

this is not sticktly true.

Productions like shrek 2 have there own programers to sort problems like the one being mentioned.

the only problem is they never release the code ... they just dont get opensource.

If you want an indexed sprit its best to start with indexed colours, disabling dithering will help like yuriks said.
_________________
i cant program but i make a mean piece of toast.

#112476 - yuriks - Sat Dec 16, 2006 6:45 pm

Awesome bump you have there.
_________________
---yuriks---

#112477 - steve343 - Sat Dec 16, 2006 6:52 pm

As soon I pressed send I realised I hadn't checked the date of the post :S sorry
_________________
i cant program but i make a mean piece of toast.