Hi,
Please excuse the imagemagick newbie.
I would like to create a gradient image (canvas) which has the size of an exiting image file. How can this be done?
Thanks,
Paul
Create gradient with the size of an other image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Create gradient with the size of an other image
see http://www.imagemagick.org/Usage/canvas ... _gradients
example for the IM internal image rose:
convert rose: -sparse-color Barycentric '0,0 white 0,%h black' rose_size_gradient.png
Just substitute your image for rose:
example for the IM internal image rose:
convert rose: -sparse-color Barycentric '0,0 white 0,%h black' rose_size_gradient.png
Just substitute your image for rose: