home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 57 / af057a.adf / PCDtoIFF.doc (.png) < prev   
ANSI Art File  |  1993-08-30  |  3KB  |  640x1296  |  4-bit (3 colors)
Labels: text | screenshot | font
OCR: PCDto IFF Photo CD to IFF converter (v0.2) This program is a "quick and dirty" Photo CD file converter for the Amiga. It does not display the pictures, but rather writes the picture data back out as a standard "Deep ILBM" IFF file. This can be displayed and saved as a displayable IFF file by a program such as ASDG's Art Department Pro. Each picture file on a Photo CD contains the same picture at five different resolutions : 1) 2) 192 × 128 3) 384 x 256 4) 768 x 512 1536 x 1024 5) 3072 × 2048 With the PCDtoIFF program, you specify the name of the picture file and which resolution to convert, as well as the name of the IFF file to generate and optionally the depth of the IFF file (in bit planes). Here's the command line format : PCDto IFF -n pcd_file IFF_file [depth] Selects which resolution (1 thru 5 above) pcd_file: Path and name of Photo CD file (i.e. cdo: Photo_CD/Images/IMG0001. PCD IFF_file: Path and name of IFF file to create depth : (i.e. dh0: Pic1) is the depth of the IFF file to save (in bitplanes). Legal values are 12,15, 18,21, and 24. The default is 24. For most Amiga's Cones without gobs of memory and without the AGA or AAGA graphic chips), satisfactory results can be obtained doing this: PCDtoIFF -2 cd0: Photo_CD/Images/IMG0001. PCD dh0: Pic1 12 Then, use a program such as ADPro to read in the IFF file, then convert it to Lo-res, non-interlaced, HAM mode with horizontal and vertical overscan. If you save this file, you should be able to quickly display it from a program such as SuperView or Mostra. Notice that unless you have AGA or AAGA chip sets (A-4000 et.al. ), saving more than 12 bit planes is extraneous, since the extra data cannot be displayed . PCDto IFF requires quite a bit of RAM during the conversion process: Resolution Memory required 192 x 128 380 K 384 x 256 750 K 768 x 512 1.5 Meg 1536 × 1024 6 Meg 3072 x 2048 24 Meg Note: the decompression algorithm in the -4 and -5 conversions may be broken -- let me know. I can't find anything that will process files this large! Legal Floobydust This program is based on hpcdtoppm by Hadmut Danisch and OpalPCD by BA22. Similar conditions apply as for these two programs -- pass it around all you want, but dont take credit for it and don't distribute for profit. This is intended to enrich the Amiga community and is for educational purposes only. PCDto IFF , 1993, Xetec, Inc. Photo CD is a trademark of Eastman Kodak .jmf 2 Jun 1993