pixHtmlViewer()
Input: dirin: directory of input image files
dirout: directory for output files
rootname: root name for output files
thumbwidth: width of thumb images
(in pixels; use 0 for default)
viewwidth: maximum width of view images (no up-scaling)
(in pixels; use 0 for default)
copyorig: 1 to copy originals to dirout; 0 otherwise
Return: 0 if OK; 1 on error
Notes: (1) The thumb and view reduced images are generated, along with two html files: <rootname>.html and <rootname>-links.html (2) The thumb and view files are named <rootname>_thumb_xxx.jpg <rootname>_view_xxx.jpg With this naming scheme, any number of input directories of images can be processed into views and thumbs and placed in the same output directory.