Applying different Colors to an Image
Posted: 2016-06-09T08:29:06-07:00
Hello All,
I am using Imagemagick version 6.9.3-6 to apply different colors on one image. For this, first I created a Split image with the colors that I needed using this command - convert -size 50x367 gradient:Red-orange -size 50x367 gradient:orange-pink -append split.png (All images can be found at this link - https://www.dropbox.com/sh/l5r50t8yy1r0 ... usDOa?dl=0). I then used split.png on 1.png to get 1_colored.png using the following command : convert 1.png split.png -clut 1_colored.png.
1_colored.png is not exactly what was desired, but somewhat close to. When I use the same script for images like 2.png or similar images, i get a completely undesirable output. Please see 2_colored.png. I was expecting output somewhat close to 1_colored.png
How can I modify the above script to get uniform color highlights that you can see in example1.jpg and example2.jpg. Also, what should I do to get an output like bottomcolor1.jpg where only bottom part of the image has a different color.
Thanks,
Licy
I am using Imagemagick version 6.9.3-6 to apply different colors on one image. For this, first I created a Split image with the colors that I needed using this command - convert -size 50x367 gradient:Red-orange -size 50x367 gradient:orange-pink -append split.png (All images can be found at this link - https://www.dropbox.com/sh/l5r50t8yy1r0 ... usDOa?dl=0). I then used split.png on 1.png to get 1_colored.png using the following command : convert 1.png split.png -clut 1_colored.png.
1_colored.png is not exactly what was desired, but somewhat close to. When I use the same script for images like 2.png or similar images, i get a completely undesirable output. Please see 2_colored.png. I was expecting output somewhat close to 1_colored.png
How can I modify the above script to get uniform color highlights that you can see in example1.jpg and example2.jpg. Also, what should I do to get an output like bottomcolor1.jpg where only bottom part of the image has a different color.
Thanks,
Licy