This is the source code for CpegView 0.5 (18Aug07) - The Colour Atari-8 JPEG viewer

The decoder is based on Juddpeg, the JPEG decoder and viewer for the C=64, written by Stephen L. Judd and Adrian Gonzalez (http://www.ffd2.com/fridge/).  The Atari 8-bit version uses a modified version of Stephen's decoder along with a new viewer

The newest version is available from  http://a8jdpeg.atari.org  and http://a8jdpeg.webhop.org

A note for SpartaDOS users:
The colour viewer needs 64K of RAM.  If you only have 64K of RAM, then CpegView will user the RAM under the OS. Most versions of SpartaDOS also use this area, if you try to use CpegView with SpartaDos on a 64K machine, it *WILL* crash.  If you have 128K or more, then you should be OK.

SUPPORTED JPEGs:
This version works on most baseline JPEGs out there. It will not work on progressive JPEGs.  Progressive JPEGs are designed for viewing over a slow connection.  When viewing a progressive JPEG, it starts out as a low quality fuzzy image which becomes clearer as more data is downloaded.  The way progressive JPEGs are implemented makes them harder (although not impossible) to handle in 48/64K of RAM.

Progressive JPEGs can be converted to baseline JPEGs using the jpegtran program provided by the IJG (The Independent JPEG Group):

jpegtran input.jpg > output.jpg

Then try displaying the new image. This may also fix other problems with images too.  The jpegtran program is available for many systems, although not (unfortunately) for the Atari 8-bit, and can be downloaded from ftp://ftp.uu.net/graphics/jpeg

--
Raphael Espino - rjespino@yahoo.com
