I use gamma -50 , brightness -5 and contrast 40 in kolourpaint but I need to know how use this in imagemagick
this is my original image
Please help me
How i could use gamma and contrast in imagemagick?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How i could use gamma and contrast in imagemagick?
Please always provide your IM version and platform when asking questions since syntax may vary.
ImageMagick has -gamma and -brightness-contrast functions. But there is not guarantee that the same values from your tool will produce the same results in ImageMagick, since argument ranges differ from tool to tool. For example in ImageMagick -gamma 1 is no change. So you will have to experiment with values until you get similar results.
Try starting with:
and adjust the values as desired.
See
http://www.imagemagick.org/script/comma ... s-contrast
http://www.imagemagick.org/script/comma ... .php#gamma
http://www.imagemagick.org/Usage/color_mods/
For ImageMagick novices, see
viewtopic.php?f=1&t=9620
http://http://www.imagemagick.org/scrip ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
ImageMagick has -gamma and -brightness-contrast functions. But there is not guarantee that the same values from your tool will produce the same results in ImageMagick, since argument ranges differ from tool to tool. For example in ImageMagick -gamma 1 is no change. So you will have to experiment with values until you get similar results.
Try starting with:
Code: Select all
convert gpWhd.png -brightness-contrast -5,40 -gamma 0.1 result.png
See
http://www.imagemagick.org/script/comma ... s-contrast
http://www.imagemagick.org/script/comma ... .php#gamma
http://www.imagemagick.org/Usage/color_mods/
For ImageMagick novices, see
viewtopic.php?f=1&t=9620
http://http://www.imagemagick.org/scrip ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
Re: How i could use gamma and contrast in imagemagick?
Very thankyou
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How i could use gamma and contrast in imagemagick?
try these, they are a bit closer:
Code: Select all
convert gpWhd.png -brightness-contrast -5,40 -gamma 0.05 result1.png
convert gpWhd.png -gamma 0.35 -brightness-contrast -5,40 result2.png