I am trying to apply levels on an Image using MagickLevelImage method in IOS. For this I have to provide the 0 as white point and maximum quantum range as black point. I am not sure how can I get the maximum quantum range value for the given wand? Can someone please help me with this code.
The php code I am trying to convert is :
The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
2 posts • Page 1 of 1
- Posts: 10368
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
If I understand your question, for a Magick Wand program, the answer is to use the constant QuantumRange. This will have the value 255 or 65535 or 4294967295 or about 1.8e+19.amit1411 wrote:I am not sure how can I get the maximum quantum range value for the given wand?
snibgo's IM pages: im.snibgo.com