Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
doc:media:imagemagick [19/09/2012 17:18] smolski |
doc:media:imagemagick [19/09/2012 19:30] smolski |
||
---|---|---|---|
Ligne 186: | Ligne 186: | ||
width=`identify -format %w [fichier_source]`; convert -background '[couleur_fond]' -font /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf etc... | width=`identify -format %w [fichier_source]`; convert -background '[couleur_fond]' -font /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf etc... | ||
+ | ==== Placement du texte ==== | ||
+ | Pour placer le titrage en bas et au centre d'une photo, par exemple : : | ||
+ | <code bash> | ||
+ | width=`identify -format %w 1.jpg`; convert -geometry +0+0 -background 'none' -fill black -font /home/mon_user/polices/ARIALNI.ttf -gravity center -size ${width}x200 caption:"Test de titrage 2012" +size 1.jpg +swap -gravity south -composite 001.jpg</code> | ||
+ | |||
+ | Toutefois, avec cette disposition, le titrage est pile au bord de l'image, pour le distancer un peu de ce bord, nous lui ajoutons 20 pixel au-dessus en utilisant l'option //-geometry// ainsi : | ||
+ | <code bash> | ||
+ | width=`identify -format %w 1.jpg`; convert -geometry +0+0 -background 'none' -fill black -font /home/mon_user/polices/ARIALNI.ttf -gravity center -size ${width}x200 caption:"Test de titrage 2012" +size 1.jpg +swap -gravity south -geometry +0+20 -composite 001.jpg</code> | ||
+ | |||
+ | Source : | ||
+ | * http://www.imagemagick.org/Usage/annotating/#text_position | ||
===== Sous-exposition ===== | ===== Sous-exposition ===== |