File indexing completed on 2025-01-18 10:01:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef MAGICKCORE_COMPRESS_H
0019 #define MAGICKCORE_COMPRESS_H
0020
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024
0025 typedef enum
0026 {
0027 UndefinedCompression,
0028 B44ACompression,
0029 B44Compression,
0030 BZipCompression,
0031 DXT1Compression,
0032 DXT3Compression,
0033 DXT5Compression,
0034 FaxCompression,
0035 Group4Compression,
0036 JBIG1Compression,
0037 JBIG2Compression,
0038 JPEG2000Compression,
0039 JPEGCompression,
0040 LosslessJPEGCompression,
0041 LZMACompression,
0042 LZWCompression,
0043 NoCompression,
0044 PizCompression,
0045 Pxr24Compression,
0046 RLECompression,
0047 ZipCompression,
0048 ZipSCompression,
0049 ZstdCompression,
0050 WebPCompression,
0051 DWAACompression,
0052 DWABCompression,
0053 BC7Compression,
0054 BC5Compression
0055 } CompressionType;
0056
0057 typedef struct _Ascii85Info
0058 Ascii85Info;
0059
0060 extern MagickExport MagickBooleanType
0061 HuffmanDecodeImage(Image *,ExceptionInfo *),
0062 HuffmanEncodeImage(const ImageInfo *,Image *,Image *,ExceptionInfo *),
0063 LZWEncodeImage(Image *,const size_t,unsigned char *magick_restrict,
0064 ExceptionInfo *),
0065 PackbitsEncodeImage(Image *,const size_t,unsigned char *magick_restrict,
0066 ExceptionInfo *),
0067 ZLIBEncodeImage(Image *,const size_t,unsigned char *magick_restrict,
0068 ExceptionInfo *);
0069
0070 extern MagickExport void
0071 Ascii85Encode(Image *,const unsigned char),
0072 Ascii85Flush(Image *),
0073 Ascii85Initialize(Image *);
0074
0075 #if defined(__cplusplus) || defined(c_plusplus)
0076 }
0077 #endif
0078
0079 #endif