home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
amiga
/
video
/
dctv
/
jpg2dct7.lzh
/
jpeg2dctv.readme
< prev
next >
Wrap
Text File
|
1992-02-19
|
4KB
|
96 lines
JPEG2DCTV Version 0.7
This is a quick and dirty program to decompress JPEG compressed
images into a DCTV display buffer. It takes about one minute to
decompress a 730 x 482 x 24 bit image to a full DCTV NTSC screen
on an Amiga 3000 with 'jpeg2dctv', and about 40 seconds with
'jpeg2dctv.030'.
Usage: jpeg2dctv [-a] [-b] [-d] [-p -127..0] inputfile
where '-a' changes the aspect ratio of a file with square pixels to
fit an Amiga screen (i.e., scales 640x480 pic to
640x400 (NTSC) or 640x512 (PAL) );
'-b' activates cross-block smoothing;
'-d' deactivates auto-scaling (will create a DCTV image from
the center of an oversize JPEG file instead); and
'-p -127..0' will reset the priority of the 'jpeg2dctv' task
to the negative number you input (default is -10).
After the program is finished decoding, you may save the DCTV image
by typing in a filename; 'jpeg2dctv' will save the image and exit.
If you do not want to save the image, just hit return when prompted
to exit 'jpeg2dctv'.
The inputfile _must_ be a JPEG compressed image.
If you are running 'jpeg2dctv' under 1.3, you _must_ set your stack
size to a minimum of 10000. Otherwise, 'jpeg2dctv' will crash when you
save a full-screen picture.
You _must_ install 'dctv.library' and 'ilbm.library' in your LIBS: directory
to use 'jpeg2dctv'. 'dctv.library' and 'ilbm.library' are included in
this archive, along with a test image named (appropriately) 'testimg.jpg'.
'dctv.library' is copyrighted (c) 1991 by Digital Creations, Inc.
'ilbm.library' is copyrighted (c) 1990 by Jeff Glatt and Dissidents.
The JPEG source code used in 'jpeg2dctv' is copyrighted (c) 1991 by
Thomas G. Lane, and is part of the Independent JPEG Group's software.
'jpeg2dctv'and 'jpeg2dctv.030' are copyrighted (c) 1991, 1992 by Benjamin Reich.
This software is provided AS IS.
Updates from v. 0.6:
- fixed bug in decoding grayscale JPEG files. Formerly, the machine
would lock or crash if a grayscale JPEG file was encountered.
Updates from v. 0.5:
- added support for PAL DCTVs. Updated the scaling algorithm,
aspect ratio algorithm and centering algorithm to support PAL displays.
Updates from v. 0.4:
- substituted 'ilbm.library' for the EA IFF-ILBM saving code. The
result is that you no longer need to change the stack size under
2.0. Also, the saving is much faster.
- added a command line option to change the aspect ratio of a JPEG
file to better fit an Amiga screen. NTSC Amiga pixels are 1.2 times
taller than they are wide. PAL Amiga pixels are 1.07 times wider
than they are tall. Most JPEG images created on other
machines will have square pixels. The '-a' option removes lines
from a JPEG file on an NTSC display and adds lines on a PAL display,
so that the image will appear square on the DCTV screen will look
better on either PAL or NTSC machines.
Check the effect of the '-a' option on 'testimg.jpg'.
Updates from v. 0.3:
- added ability to save the created DCTV image; and
- added a command line option to deactivate auto-scaling. Instead,
'jpeg2dctv' will now take the center 736x482 (NTSC) or
736x566 (PAL) from the JPEG file, and output the center of the
JPEG file as a DCTV image. This was added because the scaling
algorithm is basic, and will cause jaggies if the JPEG input file is
only slightly bigger than 736 horizontally or 482 vertically (NTSC)
or 566 vertically (PAL).
Updates from v. 0.2:
- will scale down a JPEG file larger than the DCTV display
to fit on a DCTV screen; and
- task priority may be set with the '-p' command line switch
from -127 to 0 (default is -10). 'jpeg2dctv' is processor
intensive, and a priority of >0 makes my Amiga
appear to be frozen.
Updates from v. 0.1:
- added proper overscan support;
- now both 1.3 and 2.0 compatible;
- screen pops to front when finished decoding; and
- improved control-c handling
(will not break until after it is finished decoding).
-Benjamin Reich
Portal: Counsellor
BIX: ben_rich
Delphi: BEN_RICH
Usenet: Counsellor@cup.portal.com