From 0d0fd35d98954a4802ec2ce48190a7f0ca9a7075 Mon Sep 17 00:00:00 2001 From: anthony Date: Tue, 4 Oct 2011 11:09:07 +0000 Subject: [PATCH] --- MagickWand/mogrify.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c index abd601459..13ab61352 100644 --- a/MagickWand/mogrify.c +++ b/MagickWand/mogrify.c @@ -298,8 +298,8 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, */ /* -** GetImageCache() will read an image into a image cache if not already -** present then return the image that is in the cache under that filename. + GetImageCache() will read an image into a image cache if not already + present then return the image that is in the cache under that filename. */ static inline Image *GetImageCache(const ImageInfo *image_info,const char *path, ExceptionInfo *exception) @@ -385,6 +385,14 @@ 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) @@ -414,14 +422,6 @@ 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) -- 2.40.0