Posts: 35
Threads: 12
Joined: Feb 2012
03-10-2012, 07:28 PM
(This post was last modified: 03-10-2012, 07:42 PM by Tobruk.)
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.
--------------------
Thanks given by:
Posts: 1,556
Threads: 77
Joined: May 2011
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.
Posts: 35
Threads: 12
Joined: Feb 2012
But why? RGB image was fine, and re-indexed not fine?
Thanks given by:
Posts: 2,140
Threads: 64
Joined: Sep 2008
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.
Posts: 2,657
Threads: 113
Joined: Mar 2008
alternatively you can also index it, turn it rgb again, make the almost black real black and index it again.
Posts: 2,140
Threads: 64
Joined: Sep 2008
That doesn't make sense. If you index it the real black will get changed.
Posts: 2,140
Threads: 64
Joined: Sep 2008
Somehow doesn't work for me.
Posts: 746
Threads: 55
Joined: Apr 2008
03-12-2012, 03:30 PM
(This post was last modified: 03-12-2012, 03:30 PM by Som1Lse.)
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").
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.