@ -29,6 +29,27 @@ choses comme la taille (largeur et hauteur) d'une image, ou
la position d'un texte dans l'image, ou une zone sur laquelle
on va travailler.
Et c'est assez compliqué, mais pas que.
\begin { tabular} { |l|p{ 7cm} |}
\hline
Code & Signification \\
\hline
scale\% & Height and width both scaled by specified percentage. \\
scale-x\% xscale-y\% & Height and width individually scaled by specified percentages. (Only one \% symbol needed.) \\
width & Width given, height automagically selected to preserve aspect ratio. \\
xheight & Height given, width automagically selected to preserve aspect ratio. \\
widthxheight & Maximum values of height and width given, aspect ratio preserved. \\
widthxheight\^ & Minimum values of width and height given, aspect ratio preserved. \\
widthxheight! & Width and height emphatically given, original aspect ratio ignored. \\
widthxheight> & Shrinks an image with dimension(s) larger than the corresponding width and/or height argument(s). \\
widthxheight< & Enlarges an image with dimension(s) smaller than the corresponding width and/or height argument(s). \\
area@ & Resize image to have specified area in pixels. Aspect ratio is preserved. \\
x:y & Here x and y denotes an aspect ratio (e.g. 3:2 = 1.5). \\
\hline
\end { tabular}
\subsection { Écrire du texte}
Voici un exemple concret
@ -70,6 +91,8 @@ convert -delay 20 -loop 0 a.png b.png c.png foo.gif
Ce sujet pertinent est abordé plus en détails en
page \pageref { chap:gif89a}
% ------------------------------------------
\subsection { Extraire une partie de l'image}
Dans cette fonctionnalité aussi, il semble y avoir quelques
@ -84,7 +107,9 @@ convert -crop ${DIMENSION}${POSITION} +repage $img $dst
\textsl { Use +repage to completely remove/reset the virtual canvas
meta-data from the images.}
En gros, on en a besoin quand une opération va
changer la dimension de l'image.
changer la dimension de l'image. En détail, j'ai pas tout compris.
% ------------------------------------------
\subsection { Ressources}
@ -93,6 +118,8 @@ l'IRC\index{IRC} \texttt{freenode\#paulla} \textit{:)}
\texttt { http://www.fmwconcepts.com/imagemagick/index.php}
% https://legacy.imagemagick.org/Usage/resize/
% -------------------------------------------------------------------
\section { Gmic} \index { Gmic}