]> granicus.if.org Git - imagemagick/blobdiff - magick/magick-type.h
(no commit message)
[imagemagick] / magick / magick-type.h
index aa0222be00b18722bc4a9341f6f925e8b065136b..bb7559eea1785947b61c94473fab57605487c17d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
+  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
   dedicated to making software imaging solutions freely available.
   
   You may not use this file except in compliance with the License.
@@ -90,7 +90,6 @@ typedef unsigned int Quantum;
 #define MaxColormapSize  65536UL
 #define MaxMap  65535UL
 
-#define MAGICKCORE_HDRI_SUPPORT  1
 typedef long double MagickRealType;
 typedef double Quantum;
 #define QuantumRange  18446744073709551615.0
@@ -100,7 +99,6 @@ typedef double Quantum;
 # error "MAGICKCORE_QUANTUM_DEPTH must be one of 8, 16, 32, or 64"
 #endif
 #endif
-#define MaxRGB  QuantumRange  /* deprecated */
 
 /*
   Typedef declarations.
@@ -147,16 +145,19 @@ typedef enum
   YellowChannel = 0x0004,
   AlphaChannel = 0x0008,
   OpacityChannel = 0x0008,
-  MatteChannel = 0x0008,  /* deprecated */
+  MatteChannel = 0x0008,     /* deprecated */
   BlackChannel = 0x0020,
   IndexChannel = 0x0020,
-  AllChannels = 0x002F,
-  /* special channel types */
+  CompositeChannels = 0x002F,
+  AllChannels = ~0L,
+  /*
+    Special purpose channel types.
+  */
   TrueAlphaChannel = 0x0040, /* extract actual alpha channel from opacity */
   RGBChannels = 0x0080,      /* set alpha from  grayscale mask in RGB */
   GrayChannels = 0x0080,
   SyncChannels = 0x0100,     /* channels should be modified equally */
-  DefaultChannels = ( (AllChannels | SyncChannels) &~ OpacityChannel)
+  DefaultChannels = ((AllChannels | SyncChannels) &~ OpacityChannel)
 } ChannelType;
 
 typedef enum