gradient angle and gravity attributes not working

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
deltaray
Posts: 2
Joined: 2017-02-03T09:30:46-07:00
Authentication code: 1151

gradient angle and gravity attributes not working

Post by deltaray »

I've tried creating some images with gradients using some examples from this page such as:

Code: Select all

convert -size 256x128 -define gradient:angle=90 gradient:black-white linear_gradient_east.png
convert -size 256x128 -define gradient:direction=east gradient:black-white linear_gradient_east.png
However the angle of the gradient is unchanged from an angle of 0. I'm using ImageMagick 6.8.9-9 on Ubuntu. Is the angle setting a feature in newer versions or something?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: gradient angle and gravity attributes not working

Post by snibgo »

snibgo's IM pages: im.snibgo.com
deltaray
Posts: 2
Joined: 2017-02-03T09:30:46-07:00
Authentication code: 1151

Re: gradient angle and gravity attributes not working

Post by deltaray »

Oh I see the note now. Its kinda hidden. I was just skimming over the page. Thanks for your help.
Post Reply