~/Create Image Gradient Art with ImageMagick One Liner
Feb 19, 2022
To generate gradient art with ImageMagick, a single line command is enough.
For a horizontal gradient from black to white with 800 by 400 pixels:
|
|
For a vertical gradient from red to blue:
|
|
To overlay the gradient on an existing image, use composite:
|
|
Quick adjustments like changing orientation or colors can be handled by replacing color names or size. More gradient options are available.