BTW - Problem solved - this thread might better be moved to "Noob questions" or so since it´s no bug.
I do have a more complex question. I am creating skins for World of Tanks an am not content with the quality I produced yet.
See
http://wot.langschwert.de
I am trying to go to complete automatic production - there I ran into a few problems since I am forced to use command line operations in good old Dos batches.
In theory it is quite simple.
There is a standard tank skin with no camo:
http://files.homepagemodules.de/b167881 ... 1562n2.png
Then there is a shadow map that presents shadow an spares all parts that shouldn´t be painted like rubber an wood an so on:
http://files.homepagemodules.de/b167881 ... 1562n3.png
And finally there is a camo pattern:
http://files.homepagemodules.de/b167881 ... 1562n4.png
What I was doing till now is to multiply camo pattern an shadow map. That leaves a lot of black areas.
http://files.homepagemodules.de/b167881 ... 1563n2.png
Then I used add to merge it with the original skin. The result is not satisfying at all.
http://files.homepagemodules.de/b167881 ... 1563n3.png
Complete tank:
http://files.homepagemodules.de/b167881 ... 1564n2.png
What I am looking for now is a better way to do it. The parts that are covered with black in the shadow map should remain untouched, and everything else should be covered - and shadowed - by the camo pattern in bright, original colors. How could I achieve this?
And second question: how could I do this using ImageMagick? Most of the command lines still are a mystery to me. Since all this should be done in a batch job there is no room for different parameters for each image, so I know that the results may differ from the source tanks but I have to live with that. It doesn´t have to be perfect but it should be better than all I managed to do myself.
![Wink ;)](./images/smilies/icon_wink.gif)