Using MagickLevelImage to apply levels in IOS
Posted: 2016-07-04T08:20:14-07:00
Hi,
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 :
$quantumRange= $image->getQuantumRange();
$image->levelImage(0,.05,$quantumRange ['quantumRangeLong']);
Thanks,
Amit
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 :
$quantumRange= $image->getQuantumRange();
$image->levelImage(0,.05,$quantumRange ['quantumRangeLong']);
Thanks,
Amit