]> granicus.if.org Git - imagemagick/commitdiff
Remove ColorImage() method from PerlMagick
authorCristy <urban-warrior@imagemagick.org>
Sat, 13 Feb 2016 17:49:01 +0000 (12:49 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 13 Feb 2016 17:49:01 +0000 (12:49 -0500)
PerlMagick/Magick.xs
PerlMagick/quantum/quantum.xs.in

index d8136e2e2e47d4415e4fc6073697b9ec5fae95ee..b2fb4b5abd537bcc4134a8de69667872f92612a7 100644 (file)
@@ -261,7 +261,7 @@ static struct
       {"y", RealReference}, { "fill", StringReference},
       {"color", StringReference} } },
     { "Spread", { {"radius", RealReference},
-       {"interpolate", MagickInterpolateOptions} } },
+      {"interpolate", MagickInterpolateOptions} } },
     { "Swirl", { {"degrees", RealReference},
       {"interpolate", MagickInterpolateOptions} } },
     { "Resize", { {"geometry", StringReference}, {"width", IntegerReference},
@@ -7559,30 +7559,28 @@ Mogrify(ref,...)
     BrightnessContrastImage = 262
     Morphology         = 263
     MorphologyImage    = 264
-    Color              = 265
-    ColorImage         = 266
-    Mode               = 267
-    ModeImage          = 268
-    Statistic          = 269
-    StatisticImage     = 270
-    Perceptible        = 271
-    PerceptibleImage   = 272
-    Poly               = 273
-    PolyImage          = 274
-    Grayscale          = 275
-    GrayscaleImage     = 276
-    CannyEdge          = 278
-    CannyEdgeImage     = 279
-    HoughLine          = 280
-    HoughLineImage     = 281
-    MeanShift          = 282
-    MeanShiftImage     = 283
-    Kuwahara           = 284
-    KuwaharaImage      = 285
-    ConnectedComponent = 286
-    ConnectedComponentImage = 287
-    CopyPixels         = 288
-    CopyImagePixels    = 289
+    Mode               = 265
+    ModeImage          = 266
+    Statistic          = 267
+    StatisticImage     = 268
+    Perceptible        = 269
+    PerceptibleImage   = 270
+    Poly               = 271
+    PolyImage          = 272
+    Grayscale          = 273
+    GrayscaleImage     = 274
+    CannyEdge          = 275
+    CannyEdgeImage     = 276
+    HoughLine          = 277
+    HoughLineImage     = 278
+    MeanShift          = 279
+    MeanShiftImage     = 280
+    Kuwahara           = 281
+    KuwaharaImage      = 282
+    ConnectedComponent = 283
+    ConnectedComponentImage = 284
+    CopyPixels         = 285
+    CopyImagePixels    = 286
     MogrifyRegion      = 666
   PPCODE:
   {
index c751f095dbcd407bd4a68e574568735bce2814f2..7e387af7c20100515acf2acc3e5ccfdf49d89155 100644 (file)
@@ -552,7 +552,7 @@ static struct
       {"threshold", IntegerReference} } },
     { "MeanShift", { {"geometry", StringReference},
       {"width", IntegerReference}, {"height", IntegerReference},
-      {"double", RealReference} } },
+      {"distance", RealReference} } },
     { "Kuwahara", { {"geometry", StringReference}, {"radius", RealReference},
       {"sigma", RealReference}, {"channel", MagickChannelOptions} } },
     { "ConnectedComponents", { {"connectivity", IntegerReference} } },
@@ -7559,30 +7559,28 @@ Mogrify(ref,...)
     BrightnessContrastImage = 262
     Morphology         = 263
     MorphologyImage    = 264
-    Color              = 265
-    ColorImage         = 266
-    Mode               = 267
-    ModeImage          = 268
-    Statistic          = 269
-    StatisticImage     = 270
-    Perceptible        = 271
-    PerceptibleImage   = 272
-    Poly               = 273
-    PolyImage          = 274
-    Grayscale          = 275
-    GrayscaleImage     = 276
-    CannyEdge          = 278
-    CannyEdgeImage     = 279
-    HoughLine          = 280
-    HoughLineImage     = 281
-    MeanShift          = 282
-    MeanShiftImage     = 283
-    Kuwahara           = 284
-    KuwaharaImage      = 285
-    ConnectedComponent = 286
-    ConnectedComponentImage = 287
-    CopyPixels         = 288
-    CopyImagePixels    = 289
+    Mode               = 265
+    ModeImage          = 266
+    Statistic          = 267
+    StatisticImage     = 268
+    Perceptible        = 269
+    PerceptibleImage   = 270
+    Poly               = 271
+    PolyImage          = 272
+    Grayscale          = 273
+    GrayscaleImage     = 274
+    CannyEdge          = 275
+    CannyEdgeImage     = 276
+    HoughLine          = 277
+    HoughLineImage     = 278
+    MeanShift          = 279
+    MeanShiftImage     = 280
+    Kuwahara           = 281
+    KuwaharaImage      = 282
+    ConnectedComponent = 283
+    ConnectedComponentImage = 284
+    CopyPixels         = 285
+    CopyImagePixels    = 286
     MogrifyRegion      = 666
   PPCODE:
   {
@@ -11219,6 +11217,8 @@ Mogrify(ref,...)
                 &geometry_info);
               if ((flags & SigmaValue) == 0)
                 geometry_info.sigma=geometry_info.rho;
+              if ((flags & XiValue) == 0)
+                geometry_info.xi=0.10*QuantumRange;
               if ((flags & PercentValue) != 0)
                 geometry_info.xi=QuantumRange*geometry_info.xi/100.0;
             }