adapting saturation

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?".
cedricb
Posts: 28
Joined: 2008-06-06T01:33:22-07:00

Re: adapting saturation

Post by cedricb »

I've updated IM to the latest release (6.6.1-10)

I've been able to go to step 6 from the original tutorial:

Code: Select all

convert girl.png -modulate 100,0,100 step2.tiff
composite step2.tiff girl.png -compose difference step3.tiff
composite step3.tiff girl.png -compose multiply step5.tiff

composite step5.tiff \( girl.png -negate \) -compose CopyOpacity mask.tiff
composite mask.tiff girl.png final.tiff
Image

In step 7, I've tried to replicate the Auto Tone (Shift+Ctrl+L) from Photoshop: http://help.adobe.com/en_US/photoshop/c ... 764ca.html

Code: Select all

convert step5.tiff -auto-level step7.tiff
Obviously I'm not getting the same result...
Image

In step 8, I can't get the same output with 30% of saturation

Code: Select all

convert step7.tiff -modulate 100,130,100 step8.tiff
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: adapting saturation

Post by fmw42 »

you might try using HSB rather than HSL with -modulate

see http://www.imagemagick.org/Usage/color/ ... colorspace

but who knows exactly what PS is doing?
cedricb
Posts: 28
Joined: 2008-06-06T01:33:22-07:00

Re: adapting saturation

Post by cedricb »

I've finally found the solution with the little help of the http://meetthegimp.org/ community (to get a better understanding of the layer/mask)

http://cbompart.wordpress.com/2010/06/0 ... agemagick/
Post Reply