first my english isn't good but i hope i can explain it in the rigth words.
More than a year ago i got help from this forum for an problem with convert & crop. The Solution that i got for my problem works great.
We use inside a script the following string:
Code: Select all
echo " convert $aktiv_dir/$aktiv_file -crop 2x4\@ +repage -bordercolor black -border 1 -fuzz 95% -trim +repage -quality 100 -resize 32% $aktiv_dir/${datei_name}_%d.png" >>doit.sh
But you can see that there is no transparency!
At the first time i do the needed steps for transparency with Gimp and it's very costly because
- Load the pictures into gimp
adding alpha channel --> CTRL+K
using square selection with radius 20px for round corners
invert the selection -->CTRL+I (for transparency)
delete the invert --> DEL
export and save as png --> CTRL+Shift+E
http://www.derilzemer.de/example1.htm
Okay after doing these steps for 10 times and a lot of frustration about the the lot of work for 10 pictures and knewing that i have to do all these steps for 4000 pics i need help to script that. A very frindly user from the Gimpforum helps me to do this with Script-Fu inside Gimp.
The big Disadvantage from Gimp is the very very slow worktime . A hint from the Gimp forum was that i have to do that with a other programm like ImageMagick. Why not?
viewtopic.php?f=1&t=21309
Okay this link looks like, that it is possible with IM but i doesn't understand it maybe my english isn't good enough. So is there anyone who can help me to understand it or can help me to add it into my existing string??
Code: Select all
echo " convert $aktiv_dir/$aktiv_file -crop 2x4\@ +repage -bordercolor black -border 1 -fuzz 95% -trim +repage -quality 100 -resize 32% $aktiv_dir/${datei_name}_%d.png" >>doit.sh
with best regards from Germany
Andreas