Little Fighter Empire - Forums
Re-indexation to images (GIMP) - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Sprites (https://lf-empire.de/forum/forumdisplay.php?fid=15)
+--- Thread: Re-indexation to images (GIMP) (/showthread.php?tid=7571)



Re-indexation to images (GIMP) - Tobruk - 03-10-2012

Hello!

Recently I edited lots of .bmp's and I re-indexated (I mean: image >> mode >> from RGB to indexed >> the proposed pallet) those images in GIMP, because I want become them thinner (less occupied memory).
Than I launch the game and LF don't changing BLACK to ALPHA CANNAL.

Why?


--------------------
SORRY FOR WRONG SECTION. I WAS STARED.
--------------------


RE: Re-indexation to images (GIMP) - A-Man - 03-11-2012

The RGB formation of the black color should be (0, 0, 0) or U can say 'pure' black. If the black color formation is for example (0, 0, 1), it will not be recognized as the color key.



RE: Re-indexation to images (GIMP) - Tobruk - 03-11-2012

But why? RGB image was fine, and re-indexed not fine?


RE: Re-indexation to images (GIMP) - Gad - 03-11-2012

Usually black gets changed to something else than #000000. While you're indexing check the palette of colors carefully to avoid this. Be sure, that black color won't be changed.


RE: Re-indexation to images (GIMP) - Bamboori - 03-11-2012

alternatively you can also index it, turn it rgb again, make the almost black real black and index it again.


RE: Re-indexation to images (GIMP) - Gad - 03-11-2012

That doesn't make sense. If you index it the real black will get changed.


RE: Re-indexation to images (GIMP) - Bamboori - 03-11-2012

well actually not. you replace all the almost black color with black, so there is no reason for the graphics program to convert it back to a color that doesnt exist in the image.

try it if you dont believe me :p

edit: @Gad below: weird... it works fine for me in photofilter :/


RE: Re-indexation to images (GIMP) - Gad - 03-11-2012

Somehow doesn't work for me.


RE: Re-indexation to images (GIMP) - Som1Lse - 03-12-2012

An even simpler way than what bamboori suggests would be to show the "Colormap"-dialog (Windows>Dockable dialogs>Colormap), and simply change the color of the black to "000000" (it's the field saying "HTML notation").