Reputation: 1473
I have a tool which allows to justify contrast and brightness of image online using CSS3 filters. Thus I got two values of brightness and contrast from 0 to [inf] which means "1" is no change in brightness/contrast.
Next step, I need to apply these changes to image physically using Imagemagick. I've digged a ton of docs but not found how I can apply these 2 values to image.
It is relatively simple way to apply brightness and contrast corrections to image file using command-line Imagemagick?
Upvotes: 2
Views: 7513
Reputation: 61
This can be done by using for example:
convert -brightness-contrast 10X10 1.png 2.png
Upvotes: 6