The International Simutrans Forum

PakSets and Customization => General Resources and Tools => PakSet Maintainers and Artists Corner => Topic started by: mEGa on April 15, 2012, 08:40:56 AM

Title: About parasite lightning pixels
Post by: mEGa on April 15, 2012, 08:40:56 AM
Hi,
I m going to tell you (graphic artists and others) my recursive problem with lightning parasite pixels under Gimp...
I 'll try to explain the environment :

When I draw or touch up  an addon with Gimp, I use (too much may be ?) layers to create shadows, pieces and element accessories, some other effects... But after I blended layers and exported to png file (without alpha channel), I always have some pixels wich correspond to special lightning pixels... And engage a hard fight against them  :P

My present solution to correct this :
use "change 2 colors function" of Gimp... But imho, it is not a valid and stable solution :
1) it's fastidious to rectify all of colors, color per color ... layer per layer... And sometimes this modify a real lightning pixel ( second improvement : I recently make a special layer only for lights...)
2) all of bugs aren't corrected because they can appear with combination of colors of 2 layers (one color on layer can be half transparent...)

So, Have you some experiment ? Any solution ? last fabio's toolbox could be The stable tool for that ?

Thanks per advance to your feedback







Title: Re: About parasite lightning pixels
Post by: ӔO on April 15, 2012, 09:10:10 AM
if you load the png file in shades, you can easily fix unwanted special colours.
Title: Re: About parasite lightning pixels
Post by: mEGa on April 15, 2012, 09:27:44 AM
Ok, but I wanted to rectify in source file directly because it is first to create many fork versions...
I found I believe a solution with Fabio's toolbox with function "remove special colors".
I select one layer and apply this function with following options :
- non darkening greys
- Windows
- players colors (primary & secondary)
-  lights (except lighten/darken)

Of course I do not apply this on my special "lights" and "player's colors" layers

I's better than I made for this day.
Title: Re: About parasite lightning pixels
Post by: Fabio on April 15, 2012, 09:51:49 AM
Thank you for trying my toolbox.
Please, tell me how could it be improved, I'm willing to make it a standard Simutrans Artist's tool.