README for jpeg additions to qcam-0.91 I added jpeg file output capabilities to the most recent version of qcam. I have only tested this on Linux 2.0.30 with jpeglib6a. Here are the command line options: -j Output in jpeg format instead of ppm. Alone this flag will output to stdout. Not required if -J is used. -J file Ouptut in JPEG format to the file specified. The -j flag is not required with this. -q val Set the jpeg compression quality to val. The default is 50. A higher number results in better image quality, but larger file size. The range allowed is 1 to 100. -L Loop continuously. This option is really only useful for a webcam. It currently only works with JPEGS. It will be ignored with the default ppm output. When used with -j, output will be streamed to stdout. With -J, the filename specified will be overwritten each time a new image is acquired. Use with a nph-animation server push script for a webcam. The -L flag requires -j or -J. IMPORTANT NOTE: In order to compile this version of qcam, you must have the jpeg libraries installed on your system. (If you use cjpeg, then you probably already have the software). They are available from all the usual Linux ftp sites. Below is a pointer to a reliable site. ftp://ftp.cdrom.com/pub/linux/sunsite/libs/graphics/libjpeg-6a.tar.gz I will also make the library available at ftp://vip.stanford.edu/pub/qcam/ When installing the jpeg library, make sure to do a "make install-lib" and a "make install-headers" after doing the initial "make". If you have any errors at compile time, you probably have the jpeg libraries installed incorrectly. You can edit the makefile to point to the location of libjpeg.a. This package will be available from ftp://vip.stanford.edu/pub/qcam/ Check back for updates and color drivers. Shawn Stepper stepper@vip.stanford.edu http://vip.stanford.edu