JPEG
10 messages in this thread
I'm new here. How does one use that neat little graphics utility called
"augjpe.lzh"???? Any help would be appreciated. Thanks. Pat
AUGJPE is a BEAR to use Pat 8^) I use Image Professional for most of my
JPEG work now, and the new ADPro 2.0 supports JPEG also. But if you really
want to use AUGJPE, lets assume you want to decompress a JPEG picture
called "PICTURE.JPG". First you need to convert it to PPM format, so from
the shell you type:
DJPEG PICTURE.JPG >PICTURE.PPM
Next, you have to convert the .PPM format file to a 24bit IFF file. So next
you would type from the Shell:
PPMto24 PICTURE.PPM PICTURE.24 ,
Now after all that, you still need to convert the 24bit file to something
the Amiga can use, like a HAM mode picture. For this you will need
something like ImageMaster, ADPro, or a public domain utility that will do
the image conversion for you. I'm not sure what PD utilities are available,
but you can probably find a few using the keyword IMAGE in the Amiga
FileFinder (GO AMIGAFF). If you are serious about JPEG conversion, I would
look into purchasing ImageMaster from Black Belt Systems or ADPro 2.0 from
ASDG. Both make the JPEG conversion process a whole lot easier, plus lets
you convert the images to different formats like HAM, GIF, etc.
John – K7KB (via Whap!)
I know I've seen it somewhere, but could you give a pointer to where the
PPM utilities are stored here in the Amiga areas? If nothing else, it might
be nice to re-upload the PPMto24 program as a separate upload, to assist
those interested in JPEG.
If I'm not mistaken, the JPEG utilities include the PPMto24 utility.
John, the archive AUGJPE.LZH in Library 14 here in Art's contains the
PPMto24 and 24toPPM utilities, as well as the JPEG comp/decomp programs. I
probably couldn't upload them as separate files because most authors want
to keep the archives intact, besides they are not much good without the
JPEG utilities also.
Pat, I have a script file that uses the augjpe programs and a PD utility
called wasp. If you would like, I can EMAIL it to you before I post it
here. The only problem is it is very slow and requires about 2M free space
on a hard disk AND at least 2M of ram. With more than 4M of ram it is a
little faster and doesn't need the hard-disk space. Remember, most JPEG
files will decompress to around 1M in size, some even quite a bit bigger
than that.
David McCabe
-via WHAP! from Montreal! :^)
To Compress to a JPEG image from a 24 bit image:
24toPPM image.24 image.ppm
CJPEG >image.jpg image.ppm
To Decompress a JPEG image into a 24 bit image:
DJPEG >image.ppm image.jpg
PPMto24 image.ppm image.24
The 24 bit images are standard 24 bit IFF images, and can be converted to
and from using numerous Amiga utilities. Note that the order of the
redirection in CJPEG and DJPEG is important: It must occur before the other
parameter for it to run properly.
One last note: the PPM and 24 bit files take up lots of space. I
wouldn't try doing this on a floppy disk, as it probably wouldn't fit.
Steve,
>>Note that the order of the redirection in CJPEG and DJPEG is
important: It must occur before the other parameter for it to run
properly.<<
Actually that's not quite true. "CJPEG image.ppm >image.jpg" works just
the same as "CJPEG >image.jpg image.ppm". At least this is the case with
WShell and the 2.0 Shell. As I recall, tho, the 1.3x Shell/CLI was fussier
about such things. The important part is putting the redirection operator
before the destination file (image.jpg in this case).
Geez, I actually hate nitpicking! <grin>
-Dave-
The 1.3 shell is indeed fussier about such things. Since many (most)
people are still using it, I put that note in. In fact, it never even
occurred to me to see if 2.0 would accept the other order of parameters,
having become so used to the 1.3 order.
–>Steve Bennett
Steve,
Well, personally I wanna do my bit to kick 1.3 out the back door as soon
as possible. 8^) Any time I can put in a plug for 2.0 I'm gonna do it.
-Dave-