Topic: ImageMagick skin creator
A couple of days ago i started working on a batch script to automatically create skins by just adding three images (fot.png, kropp.png and hand.png) in a folder.
The script runs ImageMagick to remove borders, resize, and place them correctly in the output file. It looks good when i check it, but TeeWorlds won't open it.
I tried opening it in Photoshop and when i export it as .png it works fine, but i want to automate the whole process. I also tried setting metadata that was in the PS-file but not in the IM-file, but then it will just show up as a black-and-white copy of the previous skin.
Does anybody know how to make this work?
Code:
http://pastebin.com/vvwe4Z0M
conv = convert.exe, ImageMagick
comp = composite.exe ImageMagick
(available in the ImageMagick portable edition, for installed the names must be changed to "convert" and "composite")