Help with image tint/modulation combination
Posted: 2009-11-26T05:04:08-07:00
Hi, I'm trying to create a tint effect but I'm having a nightmare trying to get the desired effect. The HSB values used in Photoshop to filter the image do not have the same effect when used in ImageMagick (probably due to my own misuse of them). Anyway, i'm trying to get as close as i can to the effect below, if anyone can help that would be great. The RGB values specified are an orange which I want the image to be coloured with, but the HSB balance isn't right, as you can see below. The closest I've come is using the following code (I've tried a number of variations of this code):
Original image example
desired version
Current result:
Code: Select all
exec("convert $filename -colorspace Gray $new_image; convert $new_image -fill 'rgb(238, 180, 34)' -tint 100 -modulate 110,100,100 $new_image");
desired version
Current result: