From: cristy Date: Tue, 8 Nov 2011 01:52:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6673 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4425a780554f9a7dd8c2f6868e1f68cc6cf3070;p=imagemagick --- diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c index 6061d9955..4c256e7dd 100644 --- a/MagickWand/mogrify.c +++ b/MagickWand/mogrify.c @@ -385,14 +385,6 @@ static MagickBooleanType MonitorProgress(const char *text, return(MagickTrue); } - /* - SparseColorOption() parses the complex -sparse-color argument into an - an array of floating point values then calls SparseColorImage(). - Argument is a complex mix of floating-point pixel coodinates, and color - specifications (or direct floating point numbers). The number of floats - needed to represent a color varies depending on the current channel - setting. - */ static Image *SparseColorOption(const Image *image, const SparseColorMethod method,const char *arguments, const MagickBooleanType color_from_image,ExceptionInfo *exception) @@ -422,6 +414,13 @@ static Image *SparseColorOption(const Image *image, number_arguments, number_colors; + /* + SparseColorOption() parses the complex -sparse-color argument into an an + array of floating point values then calls SparseColorImage(). Argument is + a complex mix of floating-point pixel coodinates, and color specifications + (or direct floating point numbers). The number of floats needed to + represent a color varies depending on the current channel setting. + */ assert(image != (Image *) NULL); assert(image->signature == MagickSignature); if (image->debug != MagickFalse)