| http://www.ccl.net/cca/software/X-WINDOW/ImageMagick/ImageMagick/www/api/compress.shtml |
|
CCL compress |
|
NAMEcompress - Image Compression/Decompression Coders
SYNOPSISASCII85Encode(code,file)status=GIFDecodeImage(image) status=GIFEncodeImage(image,data_size) status=HuffmanDecodeImage(image) status=HuffmanEncodeImage(image_info,image) status=LZWEncodeImage(file,pixels,number_pixels) status=PCDDecodeImage(image,luma,chroma1,chroma2) status=PICTEncodeImage(image,scanline,packbits) status=PackbitsEncodeImage(file,pixels,number_pixels) status=RunlengthDecodeImage(image) count=RunlengthEncodeImage(image)
FUNCTION DESCRIPTIONS
ASCII85EncodeFunction ASCII85Encode encodes data in ASCII base-85 format. ASCII base-85 encoding produces five ASCII printing characters from every four bytes of binary data.The format of the ASCII85Encode routine is:
ASCII85Encode(code,file) A description of each parameter follows:
BMPDecodeImageFunction BMPDecodeImage unpacks the packed image pixels into runlength-encoded pixel packets.The format of the BMPDecodeImage routine is:
status=BMPDecodeImage(compressed_pixels,pixels,compression,
number_columns,number_rows) A description of each parameter follows:
BMPEncodeImageFunction BMPEncodeImage compresses pixels using a runlength encoded format.The format of the BMPEncodeImage routine is:
status=BMPEncodeImage(pixels,compressed_pixels,number_columns,
number_rows) A description of each parameter follows:
GIFDecodeImageFunction GIFDecodeImage uncompresses an image via GIF-coding.The format of the GIFDecodeImage routine is:
status=GIFDecodeImage(image) A description of each parameter follows:
GIFEncodeImageFunction GIFEncodeImage compresses an image via GIF-coding.The format of the GIFEncodeImage routine is:
status=GIFEncodeImage(image,data_size) A description of each parameter follows:
HuffmanDecodeImageFunction HuffmanDecodeImage uncompresses an image via Huffman-coding.The format of the HuffmanDecodeImage routine is:
status=HuffmanDecodeImage(image) A description of each parameter follows:
HuffmanEncodeImageFunction HuffmanEncodeImage compresses an image via Huffman-coding.The format of the HuffmanEncodeImage routine is:
status=HuffmanEncodeImage(image_info,image) A description of each parameter follows:
LZWEncodeImageFunction LZWEncodeImage compresses an image via LZW-coding specific to Postscript Level II or Portable Document Format. To ensure portability, the binary LZW bytes are encoded as ASCII base-85.The format of the LZWEncodeImage routine is:
status=LZWEncodeImage(file,pixels,number_pixels) A description of each parameter follows:
PackbitsEncodeImageFunction PackbitsEncodeImage compresses an image via Macintosh Packbits encoding specific to Postscript Level II or Portable Document Format. To ensure portability, the binary Packbits bytes are encoded as ASCII Base-85.The format of the PackbitsEncodeImage routine is:
status=PackbitsEncodeImage(file,pixels,number_pixels) A description of each parameter follows:
PCDDecodeImageFunction PCDDecodeImage recovers the Huffman encoded luminance and chrominance deltas.The format of the PCDDecodeImage routine is:
status=PCDDecodeImage(image,luma,chroma1,chroma2) A description of each parameter follows:
PICTEncodeImageFunction PICTEncodeImage compresses an image via Macintosh pack bits encoding for Macintosh PICT images.The format of the PICTEncodeImage routine is:
status=PICTEncodeImage(image,scanline,packbits) A description of each parameter follows:
RunlengthDecodeImageFunction RunlengthDecodeImage unpacks the packed image pixels into runlength-encoded pixel packets. The packed image pixel memory is then freed.The format of the RunlengthDecodeImage routine is:
status=RunlengthDecodeImage(image) A description of each parameter follows:
RunlengthEncodeImageFunction RunlengthEncodeImage packs the runlength-encoded pixel packets into the minimum number of bytes.The format of the RunlengthEncodeImage routine is:
count=RunlengthEncodeImage(image) A description of each parameter follows:
SUNDecodeImageFunction SUNDecodeImage unpacks the packed image pixels into runlength-encoded pixel packets.The format of the SUNDecodeImage routine is:
status=SUNDecodeImage(compressed_pixels,pixels,number_columns,
number_rows) A description of each parameter follows:
|
[ CCL Home Page ]
[ api ]
[ Raw Version of this page ]
| Modified: Wed May 7 00:32:25 1997 GMT |
| Page accessed 2124 times since Sat Apr 17 22:32:30 1999 GMT |