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

Re: Jpegs and GNO



Peter F Handel (handel@stolaf.edu) wrote:
: -----BEGIN PGP SIGNED MESSAGE-----

: mark lyon (o9938156@unicorn.it.wsu.edu) wrote:
: : I can think of a couple of things to try.  First, unless you have some
: : important reason for having a RAM disk, I'd get rid of it, and try
: : 
: : djpeg -maxmemory 3500 image.jpg image.gif

: I don't remember - is djpeg smart enough to notice the target
: filenames .gif extension, or is the -gif switch necessary?  I know the
: default is non-gif (pgm or something like that).

The GS port of djpeg version 6 uses GIF as the default output format.
I figured most people would want a GIF file, as most viewers seem to 
support GIF.  Usually, Unix versions of djpeg do use PPM as the default.

No, djpeg is not smart enough to decode the extension on the output
file.  You have to use the switches if you want anything other than
GIF.

[and from another post]
: The man page and the GS-specific readme contradict themselves, if I
: remember correctly.  One states that the -maxmem switch takes its
: argument in kb, the other in b.

I checked the files, and they both say that -maxmem takes it's argument
in kb.  You can also use -maxmem xm, where x is now in millions of bytes.
The man page did, however, still say that PPM was the default output
format, which is wrong.  I use the ORCA shell, so I didn't check the man
pages too carefully :)

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