Some days we just wake up wanting a linear blend from chartreuse rgb(127, 255, 0) to cornflower blue rgb(100, 149, 235). Remember, there is no accounting for taste around here. Oh, and we want it at 59.127º, please, and in an image 270 by 312 pixels.
David Tschumperlé furnished us with the general technique, for which we are grateful. For those of you who'd like to add a "-general_ramp" command to your local gmic command files, you can get a suitably formatted script here.
A few matters of note:
gmic -debug \ |
Resizing | One Dimensional Functions |