Imagick::getQuantum


wizard apg

RETURNS the ImageMagick quantum range as an integer.



<?php

int 
public static Imagick::getQuantum();

?>



This function has no parameters.




RANDOMIZED COLOR

Each new run, a new color is shown.

rgb code hexadecimal colorQUANTUM
230, 80, 231#e650e765535
ed48

  1 EXERCISE   

<?php

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

$imagick = new Imagick($file1);

$imagick->getImageBlob();

$quantum $imagick->getQuantum();

echo 
'Quantum = '$quantum;

?>

 RESULT   

3.jpg

img/jpg/3.jpg apr

Quantum = 65535