Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 09:18:33

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   LERCCompression          /* https://github.com/Esri/lerc */
0056 } CompressionType;
0057 
0058 typedef struct _Ascii85Info
0059   Ascii85Info;
0060 
0061 extern MagickExport MagickBooleanType
0062   HuffmanDecodeImage(Image *,ExceptionInfo *),
0063   HuffmanEncodeImage(const ImageInfo *,Image *,Image *,ExceptionInfo *),
0064   LZWEncodeImage(Image *,const size_t,unsigned char *magick_restrict,
0065     ExceptionInfo *),
0066   PackbitsEncodeImage(Image *,const size_t,unsigned char *magick_restrict,
0067     ExceptionInfo *),
0068   ZLIBEncodeImage(Image *,const size_t,unsigned char *magick_restrict,
0069     ExceptionInfo *);
0070 
0071 extern MagickExport void
0072   Ascii85Encode(Image *,const unsigned char),
0073   Ascii85Flush(Image *),
0074   Ascii85Initialize(Image *);
0075 
0076 #if defined(__cplusplus) || defined(c_plusplus)
0077 }
0078 #endif
0079 
0080 #endif