]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/quantize.h
(no commit message)
[imagemagick] / MagickCore / quantize.h
index 445c40d6894c7896c3b259583cf829b739136a6e..199b55e61b9774ebfbbe3f87acd5bc81ccbd7d20 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
+  Copyright 1999-2012 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.
@@ -35,31 +35,28 @@ typedef enum
 typedef struct _QuantizeInfo
 {
   size_t
-    number_colors;
+    number_colors;     /* desired maximum number of colors */
 
   size_t
     tree_depth;
 
-  MagickBooleanType
-    dither;
-
   ColorspaceType
     colorspace;
 
+  DitherMethod
+    dither_method;
+
   MagickBooleanType
     measure_error;
 
   size_t
     signature;
-
-  DitherMethod
-    dither_method;
 } QuantizeInfo;
 
 extern MagickExport MagickBooleanType
   CompressImageColormap(Image *,ExceptionInfo *),
-  GetImageQuantizeError(Image *),
-  PosterizeImage(Image *,const size_t,const MagickBooleanType,ExceptionInfo *),
+  GetImageQuantizeError(Image *,ExceptionInfo *),
+  PosterizeImage(Image *,const size_t,const DitherMethod,ExceptionInfo *),
   QuantizeImage(const QuantizeInfo *,Image *,ExceptionInfo *),
   QuantizeImages(const QuantizeInfo *,Image *,ExceptionInfo *),
   RemapImage(const QuantizeInfo *,Image *,const Image *,ExceptionInfo *),