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?".
I am trying to make a script to replace a color from an image with a gradient oriented one. The goal is make an animated image with the gradient color turning.
I try diffrent commands but was unable to do it. My main problem is that this command "convert source.jpg -size 1000x496 gradient:yellow-green -opaque "#0973A5" res2.jpg" create a square gradient, and not a gradient replacing the given color.
here is my source image:
here is what i would like to have in result (the angle of the gradient can change):
I would break the problem down into stages. One stage is to replace the solid blue with a gradient blue. You can create the gradient blue (Windows script), at any angle you want:
I will make the solid blue transparent, and overlay the result over the gradient. But the background is already transparent, so I will first make that red.
snibgo wrote:I would break the problem down into stages. One stage is to replace the solid blue with a gradient blue. You can create the gradient blue (Windows script), at any angle you want:
I will make the solid blue transparent, and overlay the result over the gradient. But the background is already transparent, so I will first make that red.
snibgo wrote:I would break the problem down into stages. One stage is to replace the solid blue with a gradient blue. You can create the gradient blue (Windows script), at any angle you want:
I will make the solid blue transparent, and overlay the result over the gradient. But the background is already transparent, so I will first make that red.