Level option on code C++

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
lttq
Posts: 7
Joined: 2012-06-30T04:25:00-07:00
Authentication code: 13

Level option on code C++

Post 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 ?
lttq
Posts: 7
Joined: 2012-06-30T04:25:00-07:00
Authentication code: 13

Re: Level option on code C++

Post by lttq »

Plz help me !!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Level option on code C++

Post 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!)
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply