Page 1 of 1

(brightness and contrast on image) query win-command line

Posted: 2007-10-14T21:41:02-07:00
by Ravinderjit S.Sidhu
I am windows XP user, and using command line Convert.EXE

Suppose I have an Image I need to set its brightness level to -20% or +20%.
sameway on another Image I need to set its contrast level to -20% or +20%
I need the way how i will do it in IM.
This will be helpfull if you can give examples for each case.

The following I used but I am not sure what I am doing or it is the right way or not.

Code: Select all

convert  flower.gif  -fill white                 -tint 76   out_cbm080.gif
convert  flower.gif  -sigmoidal-contrast    8,100%   out_cc02.gif
convert  flower.gif  -sigmoidal-contrast    2,0%      out_ct08.gif