annotate proportionnal with lot of image
Posted: 2012-04-05T05:17:00-07:00
Hello every body !
I try to use imageready to convert jpg to pdf and annotate them; for the moment, the only way i fund was to get size of picture with identify and after make operation to set size and position to annotate .
For the moment, i'm stay here:
i'm searching the good operation.
Is it exist other way to make proportionnal annotate with imagemagick ?
Thank for your help !
I try to use imageready to convert jpg to pdf and annotate them; for the moment, the only way i fund was to get size of picture with identify and after make operation to set size and position to annotate .
For the moment, i'm stay here:
Code: Select all
#get the size of image
largeur=$(echo "$(identify -format "%w" $1)/27.125" | bc)
hauteur=$(echo "$(identify -format "%h" $1)/34" | bc)
#set the size... work in progress ...
convert $1 -gravity southeast -pointsize $largeur/100 -fill white -annotate 90x90+$largeur+$hauteur 'TITRE' test$1 'TITRE' test.jpg
Is it exist other way to make proportionnal annotate with imagemagick ?
Thank for your help !