[magick-users] smooter gradients

Bob Meetin ontheroad at frii.com
Tue Jul 24 08:58:02 PDT 2007


This is good, makes sense, thanks so much.  I added the command to check 
the version to the footer of my gradient generator script.  It is 
*Version: ImageMagick 6.3.4 05/23/07

*Again, I think much of the problem I was seeing was because the monitor 
settings were off. .gif images are looking much better to me.  In the 
future I will make some more changes to my script as I get some 
feedback.  www.dottedi.biz/tools/gradient_generator.php .  Also I need 
to work on the spelling of smoother, not smooter.

-Bob*

*Dean S. Messing wrote:
> Anthony Thyssen wrote:
> : Bob Meetin on  wrote...
> : | I'm using the following to create a gradient:
> : | 
> : | convert -size 10x600 gradient:#000-#fff gradient.gif
> : | 
> : | It creates the image fine, but the transition is not smooth  See sample at:
> : | 
> : | http://dottedi.biz/codesamples/themes2/graphics/img.gif
> : | 
> : | I used 100x600 in this sample to make it easier to visualize the 
> : | problem.  What option do I use to make this a smoother transition gradient?
> : | 
> : This was a color quantization problem that was fixed in later IM's
> : 
> : Download and install the latest release.
> : 
> : In the latest IM
> :    convert -size 1x256 gradient: gradient.gif
> : 
> : will produce an image with 256 pixel, each a different color.
> : Using the 256 color limit of GIF file format.
> : 
> : EG this should produce the number 256 (color count)
> :   convert -size 1x256 gradient: gif:- | identify -format %k -
>
> On my laptop this produces 64, and the coutours in, say,
> `convert -size 100x512 gradient: gradient.gif' are obvious.
>
> I'm running:
>
> =>identify -version
> Version: ImageMagick 6.3.4 06/12/07 Q16 http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
>
> which I built myself.
>
> Dean
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
>
>   




More information about the Magick-users mailing list