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 -
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
The gods confound the man who first found out how to distinguish hours!
Confound him, too, who in this place set up a sun-dial, to cut and hack
my days so wretchedly into small portions. -- Titus Plautus
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users