[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gifs and Jpegs on a IIgs?



Greg Berigan (gberigan@cse.unl.edu) wrote:

[snip]

: I don't think there are any programs out there that create JPGs on a
: IIgs.  The only type of commonly used GS graphic file that would need
: JPG encoding would be 3200-color images.  Anything else can be encoded
: as a GIF.  (Does the Second Sight card create new GS graphic file
: formats resulting in more that 256 possible colors?)

Well, if you have the Orca or GNO shells, you could use cjpeg to make
jpeg images from a variety of other formats (GIF, PPM, Targa, etc.),
although converting a jpeg image from a gif often creates quite a bit
of distortion.  So, there is a program that will create jpeg's, but 
there are very few that produce images that would benefit from jpeg
compression.  Converting a 3200 color image to a jpeg would still be
a bit iffy, because (at least in my understanding) you are still limited
to 16 colors per scanline, with a different palette for each line 
(200 lines * 16 colors/line = 3200 colors).  So you run into the same
problem of trying to use jpeg compression on an already-quantized image.

I think that there's also a bug or two in the GS port of cjpeg that I've
never bothered to track down, because I didn't think that cjpeg would
get a lot of use :)

Mark Marr-Lyon
o9938156@unicorn.it.wsu.edu

: -- 
:          _-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
:      ___/___
:   _-~_--<###)   "`Where's Crow?'  Huh.  I'm not supposed to say anything, but
: <~c>' __--<       I did see that little moron heading towards the basement
:  \_--=____#)      with a pickaxe in his hand." -- Tom Servo; MST3K: The Movie