From 5671b6e1b5ea22b6ace2ed9fb41479e250408d85 Mon Sep 17 00:00:00 2001
From: Good Guy <good1.2guy@gmail.com>
Date: Wed, 15 Dec 2021 16:00:42 -0700
Subject: [PATCH] minor fixes for image sequences

---
 parts/AuxilaryPrograms.tex | 10 ++++++----
 parts/Loadandsave.tex      | 15 +++++++--------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/parts/AuxilaryPrograms.tex b/parts/AuxilaryPrograms.tex
index 1385c58..ef98f7a 100644
--- a/parts/AuxilaryPrograms.tex
+++ b/parts/AuxilaryPrograms.tex
@@ -60,7 +60,7 @@ Now render yourfile using different quality levels and run ydiff to compare the
 \label{sec:image_sequence_creation}
 \index{image sequence}
 
-Example script to create a jpeglist sequence file is next.  It can be modified to instead
+Example script to create a jpeg list sequence file is next.  It can be modified to
 create a list for \textit{exr}, \textit{gif}, \textit{ppm}, \textit{png}, \textit{tga}, or \textit{tiff}
 sequences instead by changing JPEGLIST
 to be EXRLIST, GIFLIST, PPMLIST, PNGLIST, TGALIST, or TIFFLIST.
@@ -96,12 +96,14 @@ To use this script, you will have to install the package on your operating syste
 includes \textit{anytopnm} which is ususally \textit{netpbm}.
 Example usage of this script follows:
 
-\qquad \texttt{./jpeglist.sh outfile infiles/*.jpg}
+\qquad \texttt{./imagelist.sh outfile infiles/*.jpg}
 
-where \textit{jpeglist.sh} is just the name chosen for this script which could
+where \textit{imagelist.sh} is just the name chosen for this script which could
 be anything but has to be executable, \textit{outfile} is the sequence list
 that is created, \textit{infiles} is the directory containing the 
-format\_type files such as \textit{jpg} in this example.
+format\_type files such as \textit{jpg} in this example. The xxxtopnm
+messages that show up can just be ignored such as: jpegtopnm: WRITING PPM FILE and jpegtopnm: Error writing row.
+In addition, you can edit this script as needed.
 
 \section{Details about .bcast5 Files}
 \label{sec:details_.bcast5_files}
diff --git a/parts/Loadandsave.tex b/parts/Loadandsave.tex
index 1009912..07b9046 100644
--- a/parts/Loadandsave.tex
+++ b/parts/Loadandsave.tex
@@ -74,24 +74,23 @@ File lists formats can be utilized in some way for the following list of types o
 \begin{center}
     \begin{tabular}{l l l l}
     PNGLIST = *.png	&	PPMLIST = *.ppm	&	TGALIST = *.tga	  &  TIFFLIST = *.tiff \\
-    EXALIST = *.exa	&	CR2LIST = *.cr2	&	JPEGLIST = *.jpg	&    GIFLIST = *.gif
+    EXRLIST = *.exr	&	CR2LIST = *.cr2	&	JPEGLIST = *.jpg	&    GIFLIST = *.gif
     \end{tabular}
 \end{center}
 
 %\vspace*{1ex} 
-Using the example of jpeg’s, the jpeg list sequence file type is the easiest and fastest way to access a sequence of jpg images as a single asset.  First build a jpeglist sequence file and name it something like jpeglist.sh.  There is an example script of how to do this in the Auxiliary Programs section of the Appendix (\ref{sec:image_sequence_creation}).  Once the jpeglist.sh file is built you can then run it similar to this line:
+Using the example of jpeg’s, the jpeg list sequence file type is the easiest and fastest way to access a sequence of jpg images as a single asset.  First build a jpeglist sequence file and name it something like jpeglist.sh.  There is an example script of how to do this in the Auxiliary Programs section of the Appendix (\ref{sec:image_sequence_creation}).  Once the jpeglist.sh file is built and made executable you can then run it similar to this line:
 
 \begin{lstlisting}[style=sh]
-jpeglist.sh   /<path>/file.jpg   /<path>/DSC*.jpg
+./jpeglist.sh   /<path>/outputfile.jpgs   /<path>/inputfilesDSC*.jpg
 \end{lstlisting}
 
-\vspace*{1ex} \noindent If <\texttt{path}> is the same on both outfile and infiles, then file.jpg is created in the same directory as infiles, the directory contains the entire asset, and the file list uses relative paths; otherwise the file list contains absolute paths.   Since this creates outfile list as a single asset, the memory demand and access time is much lower.  When you load the outfile in \CGG{}, you will need to set \textit{Try ffmpeg last} since ffmpeg does not work with jpeglist sequence files.
+\vspace*{1ex} \noindent If <\texttt{path}> is the same on both outputfile and inputfiles, then file.jpgs is created in the same directory as infiles, the directory contains the entire asset, and the file list uses relative paths; otherwise the file list contains absolute paths.   Since this creates outputfile list as a single asset, the memory demand and access time is much lower.  When you load the outputfile in \CGG{}, you might need to set \textit{Try ffmpeg last} if ffmpeg does not work with that particular type of sequence files.
 
-An example output file from running this script residing in the directory where \texttt{DSC*.jpg} files exist is shown below.
+An example output file from running this script residing in the directory where \texttt{DSC*.jpg} files exist is shown below.  To use this, turn off ffmpeg probes first, and open \texttt{outputfile.jpgs} using File $\rightarrow$ Load files.  Of course, you can edit this file to change frame rate or names of files to include. 
+The width and height are expected to be of the same or similar size.
 
-To use this, turn off ffmpeg probes first, and open \texttt{timelapse.jpg} using File $\rightarrow$ Load files.
-
-\begin{lstlisting}[style=sh,caption={Example: timelapse.jpg},captionpos=t]
+\begin{lstlisting}[style=sh,caption={Example: outputfile.jpgs},captionpos=t]
 JPEGLIST
 # First line is always JPEGLIST
 # Frame rate:
-- 
2.26.2