Imagick::getQuantumRange


wizard apg

RETURNS the ImageMagick quantum range as an array.



<?php

array public static Imagick::getQuantumRange();

?>



This function has no parameters.




RANDOMIZED COLOR

Each new run, a new color is shown.

rgb code hexadecimal colorQUANTUM RANGE
11, 207, 221#0bcfddRangeLong = 65535
RangeString = 65535
ed48

  1 EXERCISE   

<?php

$file1 
PATH2IMGW '/jpg/3.jpg';

$imagick = new Imagick($file1);

$imagick->getImageBlob();

$qtrange $imagick->getQuantumRange();

echo 
'Quantum Range<pre>';

print_r($qtrange);

echo 
'</pre>';

?>

 RESULT   

3.jpg

img/jpg/3.jpg apr

Quantum Range:

quantumRangeLong = 65535

quantumRangeString = 65535