convertcamtojpeg
This script takes a cam-format picture file and converts it to a JPEG, properly setting the dimensions. Cam files were output by some of Casio's QV series digital cameras such as the QV-10.
It relies on camtoppm.pl, a script that may be part of a QV utilities package provided by one "Mr. itojun", listed here. As luck would have it, I do not remember if the script was from that package or another one on the page, and the ftp server is presently down (note: I had to connect using a command-line ftp program instead of the ftp:// protocol).
The script is the embodiment of simple instructions from qvplay and the Casio QV-10 Camera.
Files
- original perl script embedded in e-mail message: camtoppm.pl.shar.original
- original perl script as shell archive: camtoppm.pl.shar
- modified camtoppm.pl (I fixed the first line to properly invoke perl)
- my bash script: convertcamtojpeg
You will need only the last two.
Requirements
- Perl
- Put the two scripts in the same directory
Usage
Run convertcamtojpeg /full/path/to/files/*.cam. The script will overwrite any existing jpegs of the same name; the output is originalcamfilename.jpg.
To contact: e-mail projects+convertcamtojpeg at rhymingpanda.com.