Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:20

0001 /*
0002   Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickCore image compression/decompression methods.
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,        /* ISO/IEC std 11544 / ITU-T rec T.82 */
0037   JBIG2Compression,        /* ISO/IEC std 14492 / ITU-T rec T.88 */
0038   JPEG2000Compression,     /* ISO/IEC std 15444-1 */
0039   JPEGCompression,
0040   LosslessJPEGCompression,
0041   LZMACompression,         /* Lempel-Ziv-Markov chain algorithm */
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