diff options
Diffstat (limited to 'dmagick/c/compress.d')
| -rw-r--r-- | dmagick/c/compress.d | 91 |
1 files changed, 87 insertions, 4 deletions
diff --git a/dmagick/c/compress.d b/dmagick/c/compress.d index 40b1446..4e0856a 100644 --- a/dmagick/c/compress.d +++ b/dmagick/c/compress.d @@ -5,30 +5,113 @@ import dmagick.c.magickType; extern(C) { + /** + * Express the desired compression type when encoding an image. Be aware + * that most image types only support a sub-set of the available + * compression types. If the compression type specified is incompatible + * with the image, ImageMagick selects a compression type compatible + * with the image type. + */ enum CompressionType { + /** */ UndefinedCompression, + + /** + * The default for most formats. + */ NoCompression, + + /** + * BZip (Burrows-Wheeler block-sorting text compression algorithm + * and Huffman coding) as used by bzip2 utilities + */ BZipCompression, + + /** */ DXT1Compression, + + /** */ DXT3Compression, + + /** */ DXT5Compression, + + /** + * CCITT Group 3 FAX compression. + */ FaxCompression, + + /** + * CCITT Group 4 FAX compression (used only for TIFF). + */ Group4Compression, + + /** + * JPEG compression. + * + * See_Also: $(LINK2 http://www.faqs.org/faqs/jpeg-faq/part1/, + * The JPEG image compression FAQ). + */ JPEGCompression, - JPEG2000Compression, /* ISO/IEC std 15444-1 */ + + /** + * JPEG2000 compression for compressed PDF images. + * + * ISO/IEC std 15444-1 + */ + JPEG2000Compression, + + /** */ LosslessJPEGCompression, + + /** + * Lempel-Ziv-Welch (LZW) compression. + */ LZWCompression, + + /** + * Run-length encoding. + * + * See_Also: $(LINK2 http://en.wikipedia.org/wiki/Run_length_encoding, + * Wikipedia). + */ RLECompression, + + /** + * Lempel-Ziv compression (LZ77) as used in PKZIP and GNU gzip. + */ ZipCompression, + + /** */ ZipSCompression, + + /** */ PizCompression, + + /** */ Pxr24Compression, + + /** */ B44Compression, + + /** */ B44ACompression, - LZMACompression, /* Lempel-Ziv-Markov chain algorithm */ - JBIG1Compression, /* ISO/IEC std 11544 / ITU-T rec T.82 */ - JBIG2Compression /* ISO/IEC std 14492 / ITU-T rec T.88 */ + + /** + * Lempel-Ziv-Markov chain algorithm + */ + LZMACompression, + + /** + * ISO/IEC std 11544 / ITU-T rec T.82 + */ + JBIG1Compression, + + /** + * ISO/IEC std 14492 / ITU-T rec T.88 + */ + JBIG2Compression } struct Ascii85Info {} |
