Is it possible to adjust color levels (auto-levels in gimp or PS, histogram strech?) of photo in IM without coding this feature from scratch?
Or use some IM api to make color adjustment using precalculated coefficients?
Magickcore api
Autolevels in IM
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Autolevels in IM
nicolas1 wrote:Is it possible to adjust color levels (auto-levels in gimp or PS, histogram strech?) of photo in IM without coding this feature from scratch?
Or use some IM api to make color adjustment using precalculated coefficients?
Magickcore api
I don't know about Magickcore API, but I have several scripts that do things like that at http://www.fmwconcepts.com/imagemagick/index.html
see: autocolor, autogamma, autolevel, autowhite, clip, stretch and redist
IM has level and contrast-stretch and linear-stretch