#include "MagickCore/utility-private.h"
#include "MagickCore/xml-tree.h"
#include "MagickCore/xml-tree-private.h"
+#include "coders/coders.h"
+\f
+/*
+ Define declarations.
+*/
+#define AddMagickCoder(coder) Magick ## coder ## Aliases
\f
/*
Typedef declarations.
static const CoderMapInfo
CoderMap[] =
{
- { "3FR", "DNG" },
- { "3GP", "MPEG" },
- { "3G2", "MPEG" },
- { "8BIMTEXT", "META" },
- { "8BIMWTEXT", "META" },
- { "AFM", "TTF" },
- { "A", "RAW" },
- { "AI", "PDF" },
- { "APP1JPEG", "META" },
- { "APP1", "META" },
- { "ARW", "DNG" },
- { "AVI", "MPEG" },
- { "BIE", "JBIG" },
- { "BMP2", "BMP" },
- { "BMP3", "BMP" },
- { "B", "RAW" },
- { "BRF", "BRAILLE" },
- { "BGRA", "BGR" },
- { "BGRO", "BGR" },
- { "CMYKA", "CMYK" },
- { "C", "RAW" },
- { "CAL", "CALS" },
- { "CANVAS", "XC" },
- { "CMYKA", "CMYK" },
- { "CR2", "DNG" },
- { "CRW", "DNG" },
- { "CUR", "ICON" },
- { "DATA", "INLINE" },
- { "DCR", "DNG" },
- { "DCX", "PCX" },
- { "DFONT", "TTF" },
- { "DXT1", "DDS" },
- { "DXT5", "DDS" },
- { "EPDF", "PDF" },
- { "EPI", "PS" },
- { "EPS2", "PS2" },
- { "EPS3", "PS3" },
- { "EPSF", "PS" },
- { "EPSI", "PS" },
- { "EPS", "PS" },
- { "EPT2", "EPT" },
- { "EPT3", "EPT" },
- { "ERF", "DNG" },
- { "EXIF", "META" },
- { "FILE", "URL" },
- { "FRACTAL", "PLASMA" },
- { "FTP", "URL" },
- { "FTS", "FITS" },
- { "G3", "FAX" },
- { "G4", "FAX" },
- { "GIF87", "GIF" },
- { "G", "RAW" },
- { "GRANITE", "MAGICK" },
- { "GRAYA", "GRAY" },
- { "GROUP4", "TIFF" },
- { "GV", "DOT" },
- { "HTM", "HTML" },
- { "ICB", "TGA" },
- { "ICO", "ICON" },
- { "ICODIB", "DIB" },
- { "IIQ", "DNG" },
- { "K25", "DNG" },
- { "KDC", "DNG" },
- { "H", "MAGICK" },
- { "HTM", "HTML" },
- { "HTTP", "URL" },
- { "HTTPS", "URL" },
- { "ICB", "TGA" },
- { "ICC", "META" },
- { "ICM", "META" },
- { "ICO", "ICON" },
- { "IMPLICIT", "***" },
- { "IPTC", "META" },
- { "IPTCTEXT", "META" },
- { "IPTCWTEXT", "META" },
- { "ISOBRL", "BRAILLE" },
- { "ISOBRL6", "BRAILLE" },
- { "JBG", "JBIG" },
- { "JNG", "PNG" },
- { "JPC", "JP2" },
- { "JPT", "JP2" },
- { "JPM", "JP2" },
- { "J2C", "JP2" },
- { "J2K", "JP2" },
- { "JNG", "PNG" },
- { "JPE", "JPEG" },
- { "JPG", "JPEG" },
- { "JPM", "JP2" },
- { "JPS", "JPEG" },
- { "JPT", "JP2" },
- { "JPX", "JP2" },
- { "K", "RAW" },
- { "K25", "DNG" },
- { "KDC", "DNG" },
- { "LOGO", "MAGICK" },
- { "M", "RAW" },
- { "M2V", "MPEG" },
- { "M4V", "MPEG" },
- { "MEF", "DNG" },
- { "MKV", "MPEG" },
- { "MNG", "PNG" },
- { "MOV", "MPEG" },
- { "MP4", "MPEG" },
- { "MPG", "MPEG" },
- { "MPRI", "MPR" },
- { "MEF", "DNG" },
- { "MRW", "DNG" },
- { "MSVG", "SVG" },
- { "NEF", "DNG" },
- { "NETSCAPE", "MAGICK" },
- { "NRW", "DNG" },
- { "O", "RAW" },
- { "ORF", "DNG" },
- { "OTF", "TTF" },
- { "P7", "PNM" },
- { "PAL", "UYVY" },
- { "PAM", "PNM" },
- { "PBM", "PNM" },
- { "PCDS", "PCD" },
- { "PCT", "PICT" },
- { "PDFA", "PDF" },
- { "PEF", "DNG" },
- { "PEF", "DNG" },
- { "PFA", "TTF" },
- { "PFB", "TTF" },
- { "PFM", "PNM" },
- { "PGM", "PNM" },
- { "PICON", "XPM" },
- { "PJPEG", "JPEG" },
- { "PM", "XPM" },
- { "PNG00", "PNG" },
- { "PNG24", "PNG" },
- { "PNG32", "PNG" },
- { "PNG48", "PNG" },
- { "PNG64", "PNG" },
- { "PNG8", "PNG" },
- { "PPM", "PNM" },
- { "PSB", "PSD" },
- { "PTIF", "TIFF" },
- { "R", "RAW" },
- { "RADIAL-GRADIENT", "GRADIENT" },
- { "RAF", "DNG" },
- { "RAS", "SUN" },
- { "RAW", "DNG" },
- { "RGBA", "RGB" },
- { "RGBO", "RGB" },
- { "RMF", "DNG" },
- { "ROSE", "MAGICK" },
- { "RW2", "DNG" },
- { "SHTML", "HTML" },
- { "SIX", "SIXEL" },
- { "SPARSE-COLOR", "TXT" },
- { "SR2", "DNG" },
- { "SRF", "DNG" },
- { "SVGZ", "SVG" },
- { "TEXT", "TXT" },
- { "TIFF64", "TIFF" },
- { "TIF", "TIFF" },
- { "TTC", "TTF" },
- { "UBRL", "BRAILLE" },
- { "UBRL6", "BRAILLE" },
- { "VDA", "TGA" },
- { "VST", "TGA" },
- { "WIZARD", "MAGICK" },
-#if defined(MAGICKCORE_WINGDI32_DELEGATE)
- { "WMF", "EMF" },
-#endif
- { "WMV", "MPEG" },
- { "WMZ", "WMF" },
- { "X3f", "DNG" },
- { "XMP", "META" },
- { "XTRNARRAY", "XTRN" },
- { "XV", "VIFF" },
- { "Y", "RAW" },
- { "YCbCrA", "YCbCr" }
+ #include "coders/coders-list.h"
};
static SemaphoreInfo
#define MagickAAIHeaders
+#define MagickAAIAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickARTHeaders
+#define MagickARTAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickAVSHeaders
+#define MagickAVSAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickBGRHeaders
+#define MagickBGRAliases \
+ MagickCoderAlias("BGR", "BGRA") \
+ MagickCoderAlias("BGR", "BGRO")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("BMP", 0, "IC") \
MagickCoderHeader("BMP", 0, "IP")
+#define MagickBMPAliases \
+ MagickCoderAlias("BMP", "BMP2") \
+ MagickCoderAlias("BMP", "BMP3")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickBRAILLEHeaders
+#define MagickBRAILLEAliases \
+ MagickCoderAlias("BRAILLE", "BRF") \
+ MagickCoderAlias("BRAILLE", "UBRL") \
+ MagickCoderAlias("BRAILLE", "UBRL6") \
+ MagickCoderAlias("BRAILLE", "ISOBRL") \
+ MagickCoderAlias("BRAILLE", "ISOBRL6")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("CALS", 9, "rorient:") \
MagickCoderHeader("CALS", 21, "version: MIL-STD-1840")
+#define MagickCALSAliases \
+ MagickCoderAlias("CALS", "CAL")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickCAPTIONHeaders
+#define MagickCAPTIONAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickCINHeaders \
MagickCoderHeader("CIN", 0, "\200\052\137\327")
+#define MagickCINAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickCIPHeaders
+#define MagickCIPAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickCLIPHeaders
+#define MagickCLIPAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickCLIPBOARDHeaders
+#define MagickCLIPBOARDAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickCMYKHeaders
+#define MagickCMYKAliases \
+ MagickCoderAlias("CMYK", "CMYKA")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickCoderHeader(coder,offset,magic) { coder, offset, \
(const unsigned char *) (magic), sizeof(magic)-1 },
+#define MagickCoderAlias(coder,alias) { coder, alias },
+
#define MagickCoderExports(coder) \
extern ModuleExport size_t \
Register ## coder ## Image(void); \
#define MagickCUTHeaders
+#define MagickCUTAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickDCMHeaders \
MagickCoderHeader("DCM", 128, "DICM")
+#define MagickDCMAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickDDSHeaders \
MagickCoderHeader("DDS", 0, "DDS ")
+#define MagickDDSAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickDEBUGHeaders
+#define MagickDEBUGAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickDIBHeaders \
MagickCoderHeader("DIB", 0, "\050\000")
+#define MagickDIBAliases \
+ MagickCoderAlias("DIB", "ICODIB")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickDJVUHeaders \
MagickCoderHeader("DJVU", 0, "AT&TFORM")
+#define MagickDJVUAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("MRW", 0, "\x00MRM") \
MagickCoderHeader("RAF", 0, "FUJIFILMCCD-RAW ")
+#define MagickDNGAliases \
+ MagickCoderAlias("DNG", "3FR") \
+ MagickCoderAlias("DNG", "ARW") \
+ MagickCoderAlias("DNG", "CR2") \
+ MagickCoderAlias("DNG", "CRW") \
+ MagickCoderAlias("DNG", "DCR") \
+ MagickCoderAlias("DNG", "DCRAW") \
+ MagickCoderAlias("DNG", "ERF") \
+ MagickCoderAlias("DNG", "IIQ") \
+ MagickCoderAlias("DNG", "KDC") \
+ MagickCoderAlias("DNG", "K25") \
+ MagickCoderAlias("DNG", "MEF") \
+ MagickCoderAlias("DNG", "MRW") \
+ MagickCoderAlias("DNG", "NEF") \
+ MagickCoderAlias("DNG", "NRW") \
+ MagickCoderAlias("DNG", "ORF") \
+ MagickCoderAlias("DNG", "PEF") \
+ MagickCoderAlias("DNG", "RAF") \
+ MagickCoderAlias("DNG", "RAW") \
+ MagickCoderAlias("DNG", "RMF") \
+ MagickCoderAlias("DNG", "RW2") \
+ MagickCoderAlias("DNG", "SRF") \
+ MagickCoderAlias("DNG", "SR2") \
+ MagickCoderAlias("DNG", "X3F")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickDOTHeaders \
MagickCoderHeader("DOT", 0, "digraph")
+#define MagickDOTAliases \
+ MagickCoderAlias("DOT", "GV")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickDPSHeaders
+#define MagickDPSAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("DPX", 0, "SDPX") \
MagickCoderHeader("DPX", 0, "XPDS")
+#define MagickDPXAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("WMF", 0, "\327\315\306\232") \
MagickCoderHeader("WMF", 0, "\001\000\011\000")
+#define MagickEMFAliases \
+ MagickCoderAlias("EMF", "WMF")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickEPTHeaders \
MagickCoderHeader("EPT", 0, "\305\320\323\306")
+#define MagickEPTAliases \
+ MagickCoderAlias("EPT", "EPT2") \
+ MagickCoderAlias("EPT", "EPT3")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickEXRHeaders \
MagickCoderHeader("EXR", 0, "\166\057\061\001")
+#define MagickEXRAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickFAXHeaders \
MagickCoderHeader("FAX", 0, "DFAX")
+#define MagickFAXAliases \
+ MagickCoderAlias("FAX", "G3") \
+ MagickCoderAlias("FAX", "G4")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("FITS", 0, "IT0") \
MagickCoderHeader("FITS", 0, "SIMPLE")
+#define MagickFITSAliases \
+ MagickCoderAlias("FITS", "FTS")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickFLIFHeaders \
MagickCoderHeader("FLIF", 0, "FLIF")
+#define MagickFLIFAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickFPXHeaders
+#define MagickFPXAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickGIFHeaders \
MagickCoderHeader("GIF", 0, "GIF8")
+#define MagickGIFAliases \
+ MagickCoderAlias("GIF", "GIF87")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickGRADIENTHeaders
+#define MagickGRADIENTAliases \
+ MagickCoderAlias("GRADIENT", "RADIAL-GRADIENT")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickGRAYHeaders
+#define MagickGRAYAliases \
+ MagickCoderAlias("GRAY", "GRAYA")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickHALDHeaders
+#define MagickHALDAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("HDR", 0, "#?RADIANCE") \
MagickCoderHeader("HDR", 0, "#?RGBE")
+#define MagickHDRAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("HEIC", 4, "ftypheix") \
MagickCoderHeader("HEIC", 4, "ftypmif1")
+#define MagickHEICAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickHISTOGRAMHeaders
+#define MagickHISTOGRAMAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickHRZHeaders
+#define MagickHRZAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickHTMLHeaders
+#define MagickHTMLAliases \
+ MagickCoderAlias("HTML", "HTM") \
+ MagickCoderAlias("HTML", "SHTML")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickICONHeaders
+#define MagickICONAliases \
+ MagickCoderAlias("ICON", "CUR") \
+ MagickCoderAlias("ICON", "ICO")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickINFOHeaders
+#define MagickINFOAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickINLINEHeaders
+#define MagickINLINEAliases \
+ MagickCoderAlias("DATA", "INLINE")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickIPLHeaders \
MagickCoderHeader("IPL", 0, "data")
+#define MagickIPLAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickJBIGHeaders
+#define MagickJBIGAliases \
+ MagickCoderAlias("JBIG", "BIE") \
+ MagickCoderAlias("JBIG", "JBG")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickJNXHeaders
+#define MagickJNXAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("JPC", 0, "\x0d\x0a\x87\x0a") \
MagickCoderHeader("J2K", 0, "\xff\x4f\xff\x51")
+#define MagickJP2Aliases \
+ MagickCoderAlias("JP2", "J2C") \
+ MagickCoderAlias("JP2", "J2K") \
+ MagickCoderAlias("JP2", "JPM") \
+ MagickCoderAlias("JP2", "JPT") \
+ MagickCoderAlias("JP2", "JPC")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickJPEGHeaders \
MagickCoderHeader("JPEG", 0, "\377\330\377")
+#define MagickJPEGAliases \
+ MagickCoderAlias("JPEG", "JPE") \
+ MagickCoderAlias("JPEG", "JPG") \
+ MagickCoderAlias("JPEG", "JPS") \
+ MagickCoderAlias("JPEG", "PJPEG")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickJSONHeaders
+#define MagickJSONAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickLABELHeaders
+#define MagickLABELAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMACHeaders
+#define MagickMACAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMAGICKHeaders
+#define MagickMAGICKAliases \
+ MagickCoderAlias("MAGICK", "GRANITE") \
+ MagickCoderAlias("MAGICK", "H") \
+ MagickCoderAlias("MAGICK", "LOGO") \
+ MagickCoderAlias("MAGICK", "NETSCAPE") \
+ MagickCoderAlias("MAGICK", "ROSE") \
+ MagickCoderAlias("MAGICK", "WIZARD")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMAPHeaders
+#define MagickMAPAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMASKHeaders
+#define MagickMASKAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMATHeaders \
MagickCoderHeader("MAT", 0, "MATLAB 5.0 MAT-file,")
+#define MagickMATAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMATTEHeaders
+#define MagickMATTEAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("IPTCTEXT", 0, "2#0=\042�\042") \
MagickCoderHeader("IPTC", 0, "\034\002")
+#define MagickMETAAliases \
+ MagickCoderAlias("META", "8BIM") \
+ MagickCoderAlias("META", "8BIMTEXT") \
+ MagickCoderAlias("META", "8BIMWTEXT") \
+ MagickCoderAlias("META", "APP1") \
+ MagickCoderAlias("META", "APP1JPEG") \
+ MagickCoderAlias("META", "EXIF") \
+ MagickCoderAlias("META", "XMP") \
+ MagickCoderAlias("META", "ICM") \
+ MagickCoderAlias("META", "ICC") \
+ MagickCoderAlias("META", "IPTC") \
+ MagickCoderAlias("META", "IPTCTEXT") \
+ MagickCoderAlias("META", "IPTCWTEXT")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("MIFF", 0, "Id=ImageMagick") \
MagickCoderHeader("MIFF", 0, "id=ImageMagick")
+#define MagickMIFFAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMONOHeaders
+#define MagickMONOAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMPCHeaders \
MagickCoderHeader("MPC", 0, "id=MagickCache")
+#define MagickMPCAliases \
+ MagickCoderAlias("MPC", "CACHE")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("MPEG", 0, "\000\000\001\263") \
MagickCoderHeader("MPEG", 0, "RIFF")
+#define MagickMPEGAliases \
+ MagickCoderAlias("MPEG", "3GP") \
+ MagickCoderAlias("MPEG", "3G2") \
+ MagickCoderAlias("MPEG", "AVI") \
+ MagickCoderAlias("MPEG", "MKV") \
+ MagickCoderAlias("MPEG", "MOV") \
+ MagickCoderAlias("MPEG", "MPG") \
+ MagickCoderAlias("MPEG", "MP4") \
+ MagickCoderAlias("MPEG", "M2V") \
+ MagickCoderAlias("MPEG", "M4V") \
+ MagickCoderAlias("MPEG", "WMV")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMPRHeaders
+#define MagickMPRAliases \
+ MagickCoderAlias("MPR", "MPRI")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMSLHeaders
+#define MagickMSLAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMTVHeaders
+#define MagickMTVAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickMVGHeaders
+#define MagickMVGAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickNULLHeaders
+#define MagickNULLAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickOTBHeaders
+#define MagickOTBAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPALMHeaders
+#define MagickPALMAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPANGOHeaders
+#define MagickPANGOAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPATTERNHeaders
+#define MagickPATTERNAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPCDHeaders \
MagickCoderHeader("PCD", 2048, "PCD_")
+#define MagickPCDAliases \
+ MagickCoderAlias("PCD", "PCDS")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("PCL", 0, "\033E\033")
+#define MagickPCLAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("PCX", 0, "\012\005") \
MagickCoderHeader("DCX", 0, "\261\150\336\72")
+#define MagickPCXAliases \
+ MagickCoderAlias("PCX", "DCX")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPDBHeaders \
MagickCoderHeader("PDB", 60, "vIMGView")
+#define MagickPDBAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPDFHeaders \
MagickCoderHeader("PDF", 0, "%PDF-")
+#define MagickPDFAliases \
+ MagickCoderAlias("PDF", "AI") \
+ MagickCoderAlias("PDF", "EPDF") \
+ MagickCoderAlias("PDF", "PDFA")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPESHeaders \
MagickCoderHeader("PES", 0, "#PES")
+#define MagickPESAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("PGX", 0, "PG ML") \
MagickCoderHeader("PGX", 0, "PG LM")
+#define MagickPGXAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPICTHeaders
+#define MagickPICTAliases \
+ MagickCoderAlias("PICT", "PCT")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPIXHeaders
+#define MagickPIXAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPLASMAHeaders
+#define MagickPLASMAAliases \
+ MagickCoderAlias("PLASMA", "FRACTAL")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("JNG", 0, "\213JNG\r\n\032\n") \
MagickCoderHeader("MNG", 0, "\212MNG\r\n\032\n")
+#define MagickPNGAliases \
+ MagickCoderAlias("PNG", "MNG") \
+ MagickCoderAlias("PNG", "PNG8") \
+ MagickCoderAlias("PNG", "PNG24") \
+ MagickCoderAlias("PNG", "PNG32") \
+ MagickCoderAlias("PNG", "PNG48") \
+ MagickCoderAlias("PNG", "PNG64") \
+ MagickCoderAlias("PNG", "PNG00") \
+ MagickCoderAlias("PNG", "JNG")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("PFM", 0, "PF") \
MagickCoderHeader("PFM", 0, "Pf")
+#define MagickPNMAliases \
+ MagickCoderAlias("PNM", "PAM") \
+ MagickCoderAlias("PNM", "PBM") \
+ MagickCoderAlias("PNM", "PFM") \
+ MagickCoderAlias("PNM", "PGM") \
+ MagickCoderAlias("PNM", "PPM")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("PS", 0, "\004%!") \
MagickCoderHeader("PS", 0, "\305\320\323\306")
+#define MagickPSAliases \
+ MagickCoderAlias("PS", "EPI") \
+ MagickCoderAlias("PS", "EPS") \
+ MagickCoderAlias("PS", "EPSF") \
+ MagickCoderAlias("PS", "EPSI")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPS2Headers
+#define MagickPS2Aliases \
+ MagickCoderAlias("PS2", "EPS2")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPS3Headers
+#define MagickPS3Aliases \
+ MagickCoderAlias("PS3", "EPS3")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("PSB", 0, "8BPB") \
MagickCoderHeader("PSD", 0, "8BPS")
+#define MagickPSDAliases \
+ MagickCoderAlias("PSD", "PSB")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickPWPHeaders \
MagickCoderHeader("PWP", 0, "SFW95")
+#define MagickPWPAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickRAWHeaders
+#define MagickRAWAliases \
+ MagickCoderAlias("RAW", "R") \
+ MagickCoderAlias("RAW", "C") \
+ MagickCoderAlias("RAW", "G") \
+ MagickCoderAlias("RAW", "M") \
+ MagickCoderAlias("RAW", "B") \
+ MagickCoderAlias("RAW", "Y") \
+ MagickCoderAlias("RAW", "A") \
+ MagickCoderAlias("RAW", "O") \
+ MagickCoderAlias("RAW", "K")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickRGBHeaders
+#define MagickRGBAliases \
+ MagickCoderAlias("RGB", "RGBA") \
+ MagickCoderAlias("RGB", "RGBO")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickRGFHeaders
+#define MagickRGFAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickRLAHeaders
+#define MagickRLAAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickRLEHeaders \
MagickCoderHeader("RLE", 0, "\122\314")
+#define MagickRLEAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSCRHeaders
+#define MagickSCRAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSCREENSHOTHeaders
+#define MagickSCREENSHOTAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSCTHeaders \
MagickCoderHeader("SCT", 0, "CT")
+#define MagickSCTAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSFWHeaders \
MagickCoderHeader("SFW", 0, "SFW94")
+#define MagickSFWAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSGIHeaders \
MagickCoderHeader("SGI", 0, "\001\332")
+#define MagickSGIAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSIXELHeaders
+#define MagickSIXELAliases \
+ MagickCoderAlias("SIXEL", "SIX")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSTEGANOHeaders
+#define MagickSTEGANOAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickSUNHeaders \
MagickCoderHeader("SUN", 0, "\131\246\152\225")
+#define MagickSUNAliases \
+ MagickCoderAlias("SUN", "RAS")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("SVG", 1, "SVG") \
MagickCoderHeader("SVG", 1, "svg")
+#define MagickSVGAliases \
+ MagickCoderAlias("SVG", "SVGZ") \
+ MagickCoderAlias("SVG", "MSVG")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickTGAHeaders
+#define MagickTGAAliases \
+ MagickCoderAlias("TGA", "ICB") \
+ MagickCoderAlias("TGA", "VDA") \
+ MagickCoderAlias("TGA", "VST")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickTHUMBNAILHeaders
+#define MagickTHUMBNAILAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("TIFF64", 0, "\115\115\000\053\000\010\000\000") \
MagickCoderHeader("TIFF64", 0, "\111\111\053\000\010\000\000\000")
+#define MagickTIFFAliases \
+ MagickCoderAlias("TIFF", "GROUP4") \
+ MagickCoderAlias("TIFF", "PTIF") \
+ MagickCoderAlias("TIFF", "TIF") \
+ MagickCoderAlias("TIFF", "TIFF64")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickTILEHeaders
+#define MagickTILEAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickTIMHeaders
+#define MagickTIMAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("PFA", 0, "%!PS-AdobeFont-1.0") \
MagickCoderHeader("PFB", 6, "%!PS-AdobeFont-1.0")
+#define MagickTTFAliases \
+ MagickCoderAlias("TTF", "DFONT") \
+ MagickCoderAlias("TTF", "PFA") \
+ MagickCoderAlias("TTF", "PFB") \
+ MagickCoderAlias("TTF", "OTF") \
+ MagickCoderAlias("TTF", "TTC")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickTXTHeaders \
MagickCoderHeader("TXT", 0, MagickTXTID)
+#define MagickTXTAliases \
+ MagickCoderAlias("TXT", "SPARSE-COLOR") \
+ MagickCoderAlias("TXT", "TEXT")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickUILHeaders
+#define MagickUILAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickURLHeaders
+#define MagickURLAliases \
+ MagickCoderAlias("URL", "HTTP") \
+ MagickCoderAlias("URL", "HTTPS") \
+ MagickCoderAlias("URL", "FTP") \
+ MagickCoderAlias("URL", "FILE")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickUYVYHeaders
+#define MagickUYVYAliases \
+ MagickCoderAlias("UYVY", "PAL")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("VICAR", 0, "NJPL1I") \
MagickCoderHeader("VICAR", 0, "PDS_VERSION_ID")
+#define MagickVICARAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickVIDHeaders
+#define MagickVIDAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickVIFFHeaders \
MagickCoderHeader("VIFF", 0, "\253\001")
+#define MagickVIFFAliases \
+ MagickCoderAlias("VIFF", "XV")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("VIPS", 0, "\010\362\246\266") \
MagickCoderHeader("VIPS", 0, "\266\246\362\010")
+#define MagickVIPSAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickWBMPHeaders
+#define MagickWBMPAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickWEBPHeaders \
MagickCoderHeader("WEBP", 8, "WEBP")
+#define MagickWEBPAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickWMFHeaders
+#define MagickWMFAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickWPGHeaders \
MagickCoderHeader("WPG", 0, "\377WPC")
+#define MagickWPGAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickXHeaders
+#define MagickXAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickXBMHeaders \
MagickCoderHeader("XBM", 0, "#define")
+#define MagickXBMAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickXCHeaders
+#define MagickXCAliases \
+ MagickCoderAlias("XC", "CANVAS")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
MagickCoderHeader("XCF", 0, "gimp xcf")
+#define MagickXCFAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickXPMHeaders \
MagickCoderHeader("XPM", 1, "* XPM *")
+#define MagickXPMAliases \
+ MagickCoderAlias("XPM", "PICON") \
+ MagickCoderAlias("XPM", "PM")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickXPSHeaders
+#define MagickXPSAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickXTRNHeaders
+#define MagickXTRNAliases \
+ MagickCoderAlias("XTRN", "XTRNARRAY")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickXWDHeaders
+#define MagickXWDAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickYCBCRHeaders
+#define MagickYCBCRAliases \
+ MagickCoderAlias("YCbCr", "YCbCrA")
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define MagickYUVHeaders
+#define MagickYUVAliases
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif