Page 1 of 1

Level option on code C++

Posted: 2012-07-04T01:45:36-07:00
by lttq
I have a command to transfer color of my image :
convert img_base.jpg +level-colors 'rgb(102,75,25)', test.png

I want to use it on code c++ using Magick++ library.I found a method name "level" and "levelchanel" for image but it's not a exactly.

Can you help me ?

Re: Level option on code C++

Posted: 2012-07-04T07:28:46-07:00
by lttq
Plz help me !!

Re: Level option on code C++

Posted: 2012-07-04T19:01:03-07:00
by anthony
It should be available!
The function name is LevelColorsImageChannel() in the core library.
It is defined by the header file... "enhance.h"

Web search for it in documentation, or look at the source function description.

PS: I wrote it! It was late local time when you made your request (I am an Aussie, living across the Big Pond!)