I have a problem. I created a little script to make a frame to my pictures and a label.
Code: Select all
@echo off
@echo Beschriftungstext:
set /p beschr=
set neu=%1
set alle=%*
FOR %%a IN (%alle%) DO convert -bordercolor white -border 1 -bordercolor black -border 25%x25% -gravity South -font "AR-BERKLEY" -pointsize 22 -fill white -draw "text 0,0 '%beschr%'" %%a %%a
pause
This works. But what i want is to set the border width in percent. Some pictures are bigger, some smaller. So the frame ist thin or thick, depents on the picture resolution.
To solve this, i have to set border in percent (here i tried with 25%x25%) but it doesn´t work.
Also i have to set the font size in percent.
I readed the manual, forums, but i cant find a solution.
Sombody´s got an idea to do this?
Thanks a lot