projects
/
goodguy
/
cin-manual-latex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add Transport and Buttons Bar
[goodguy/cin-manual-latex.git]
/
parts
/
AuxilaryPrograms.tex
diff --git
a/parts/AuxilaryPrograms.tex
b/parts/AuxilaryPrograms.tex
index dde4207c8de4ea8d9e30ccc6913e029c9925743c..6fee7a293dbb5e081e4735c6fa02944f050232bd 100644
(file)
--- a/
parts/AuxilaryPrograms.tex
+++ b/
parts/AuxilaryPrograms.tex
@@
-62,11
+62,11
@@
Example script to create a jpeglist sequence file is next:
\begin{lstlisting}[numbers=none]
#!/bin/bash
out="$1"
\begin{lstlisting}[numbers=none]
#!/bin/bash
out="$1"
-dir=
`dirname "$out"`
+dir=
$(dirname "$out")
shift
shift
-geom=
`jpegtopnm "$1" | head -2 | tail -1`
-w=
`(set - $geom; echo $1)`
-h=
`(set - $geom; echo $2)`
+geom=
$(jpegtopnm "$1" | head -2 | tail -1)
+w=
"$(echo $geom | cut -d " " -f1)"
+h=
"$(echo $geom | cut -d " " -f2)"
exec > $out
echo "JPEGLIST"
echo "# First line is always JPEGLIST"
exec > $out
echo "JPEGLIST"
echo "# First line is always JPEGLIST"
@@
-78,7
+78,7
@@
echo "# Height:"
echo "$h"
echo "# List of image files follows"
while [ $# -gt 0 ]; do
echo "$h"
echo "# List of image files follows"
while [ $# -gt 0 ]; do
- if [ x
`dirname "$1"`
= x"$dir" ]; then
+ if [ x
$(dirname "$1")
= x"$dir" ]; then
f=./`basename "$1"`;
else
f="$1";
f=./`basename "$1"`;
else
f="$1";
@@
-87,6
+87,8
@@
while [ $# -gt 0 ]; do
shift
done
\end{lstlisting}
shift
done
\end{lstlisting}
+To use this script, you will have to install the package on your operating system that
+includes \textit{jpegtopnm} which is ususally \textit{netpbm}.
Example usage of this script follows:
\qquad \texttt{jpeglist.sh outfile infiles*.jpg}
Example usage of this script follows:
\qquad \texttt{jpeglist.sh outfile infiles*.jpg}
@@
-190,7
+192,6
@@
The following extensions of files in \CGG{}'s \texttt{.bcast5} directory are exp
\item [.png] thumbnails of files in Resources so they do not have to be created over and over
\end{labeling}
\item [.png] thumbnails of files in Resources so they do not have to be created over and over
\end{labeling}
-
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../CinelerraGG_Manual"
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../CinelerraGG_Manual"