Page 1 of 1
Command for Increasing Image....
Posted: 2013-06-23T09:51:37-07:00
by helloworld
What is the command for increasing the image Brightness, Contrast, Hue and Saturation ?
Re: Command for Increasing Image....
Posted: 2013-06-23T10:11:57-07:00
by snibgo
Re: Command for Increasing Image....
Posted: 2013-06-23T10:47:25-07:00
by fmw42
You can also use -level and -sigmoidal-contrast to affect brightness and contrast. Also -evaluate multiply and -gamma as well.
see
http://www.imagemagick.org/Usage/color_mods/#level
http://www.imagemagick.org/Usage/color_ ... evel_gamma
http://www.imagemagick.org/Usage/color_mods/#sigmoidal
Some of the above are linear and others non-linear. There are lots of ways to affect brightness and contrast.
For a general review see
http://www.imagemagick.org/Usage/color_mods/
For some one relatively new to Imagemagick, I would recommend
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
Re: Command for Increasing Image....
Posted: 2013-06-23T12:13:24-07:00
by helloworld
I am using below two commands for Brightness, Contrast Saturation and Hue
convert bw.jpg -brightness-contrast 0,100 bw1.jpg
0 = Brightness
100 = Contrast
convert bw.jpg -modulate 150,100,180 bw1.jpg
150 = Brightness
100 = Saturation
180 = Hue
My question is, can i use negative values like -150, -10 - 67 as values for Brightness, Saturation and Hue ?
Re: Command for Increasing Image....
Posted: 2013-06-23T13:07:57-07:00
by fmw42
-brightness-contrast allows negative values. -modulate does not. -modulate 100,100,100 is not change so to reduce brightness or saturation, use values less than 100.
see
http://www.imagemagick.org/script/comma ... p#modulate
http://www.imagemagick.org/script/comma ... s-contrast
Re: Command for Increasing Image....
Posted: 2013-06-23T17:05:07-07:00
by helloworld
Thank you