The International Simutrans Forum

 

Author Topic: About parasite lightning pixels  (Read 3226 times)

0 Members and 1 Guest are viewing this topic.

Offline mEGa

  • 2D painter
  • Devotees (Inactive)
  • *
  • Posts: 1041
  • Pak128 graphics
    • mEGa_Simutrans
  • Languages: FR, EN, ru
About parasite lightning pixels
« 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







Current projects in progress : improvements of few designed french paks

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: About parasite lightning pixels
« Reply #1 on: April 15, 2012, 09:10:10 AM »
if you load the png file in shades, you can easily fix unwanted special colours.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

Offline mEGa

  • 2D painter
  • Devotees (Inactive)
  • *
  • Posts: 1041
  • Pak128 graphics
    • mEGa_Simutrans
  • Languages: FR, EN, ru
Re: About parasite lightning pixels
« Reply #2 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.
Current projects in progress : improvements of few designed french paks

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: About parasite lightning pixels
« Reply #3 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.