Imagick::getQuantumDepth


wizard apg

RETURNS the ImageMagick quantum depht as an array.



<?php

array public static Imagick::getQuantumDepth();

?>



This function has no parameters.




RANDOMIZED COLOR

Each new run, a new color is shown.

rgb code hexadecimal colorQUANTUM DEPHT
26, 70, 96#1a4660DephtLong = 16
DephtString = Q16
ed48

  1 EXERCISE   

<?php

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

$imagick = new Imagick($file1);

$imagick->getImageBlob();

$qtdepht $imagick->getQuantumDepth();

echo 
'Quantum Depht<pre>';

print_r($qtdepht);

echo 
'</pre>';

?>

 RESULT   

3.jpg

img/jpg/3.jpg apr

Quantum Depth:


quantumDepthLong = 16

quantumDepthString = Q16