diff --git a/chap/GIT.tex b/chap/GIT.tex index 9f46811..e0f09a9 100644 --- a/chap/GIT.tex +++ b/chap/GIT.tex @@ -21,6 +21,13 @@ $ > README.txt $ git add README.txt \end{verbatim} +Personnellement, à ce moment, je suis perdu, et je galère souvent +avec git, désolé, je suis cablé comme ça. Alors je me soigne. +C'est pour ça que ce chapitre est incohérent, puisqu'il n'est +rempli que d'incertitudes. + +% -------------------------------------------------------------------- + \subsection{Setup du serveur} Sur le serveur distant, dans un endroit accessible par @@ -82,10 +89,19 @@ the file ~/.gitconfig-deb will be included; its content: \end{verbatim} That results in my personal address being used on all repos not part of Debian, where i use my Debian email address. This approach can be extended to every other git configuration values. -% -------------------------------------------------------------------- +% ==================================================================== +% nouvelle section 15 avril 2021 - +\section{Questions ouvertes} + +Ahem\dots + +Comment exclure par \textsl{.gitignore} tous les fichiers \texttt{foo.html} ? + +% ==================================================================== \section{Krkrkr...} Tout cela semble bien compliqué. +% ==================================================================== diff --git a/chap/image.tex b/chap/image.tex index a40ad4f..2190153 100644 --- a/chap/image.tex +++ b/chap/image.tex @@ -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} diff --git a/chap/plugins.tex b/chap/plugins.tex index 0a269af..f82e9db 100644 --- a/chap/plugins.tex +++ b/chap/plugins.tex @@ -1,10 +1,23 @@ \chapter{Plugins} - +\index{plugin} \texttt{dlopen}\index{dlopen} +dlclose, dlopen, dlmopen - open and close a shared object + +\begin{quote} +The function dlopen() loads the dynamic shared object (shared library) +file named by the null-terminated string filename and returns an opaque +"handle" for the loaded object. This handle is employed with other +functions in the dlopen API, such as dlsym(3), dladdr(3), dlinfo(3), +and dlclose(). +\end{quote} \section{Un exemple ?} XXX\index{XXX} + + +% -------------- to be continued +