Epsiloncool
Epsiloncool

Reputation: 1473

Apply absolute contrast and brightness using Imagemagick

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

Answers (1)

Prithvi
Prithvi

Reputation: 61

This can be done by using for example:

convert -brightness-contrast 10X10 1.png 2.png

Upvotes: 6

Related Questions