Functions page: 11

Get point size
Returns the objects point size property.
None

Get quantum depth
Returns the Imagick quantum depth as a string.
Long = 16 String = Q16


array getQuantumDepth ( void )

<?php 
$im 
= new Imagick();
$im->readImage($input);
$quantumdepth $im->getQuantumDepth();
echo 
"Long = ".$quantumdepth['quantumDepthLong']." String = ".$quantumdepth['quantumDepthString']."<br/>";
 
?>
Get quantum range
Returns the Imagick quantum range as a string.
Long = 65535 String = 65535


array getQuantumRange ( void )

<?php 
$im 
= new Imagick();
$im->readImage($input);
$quantumrange $im->getquantumrange();
echo 
"Long = ".$quantumrange['quantumRangeLong']." String = ".$quantumrange['quantumRangeString']."<br/>";
 
?>
Get release date
Returns the ImageMagick release date as a string.
None

Get resource
Returns the specified resource's memory usage in megabytes.
None

Get resource limit
Returns the specified resource limit in megabytes.
None

Get sampling factors
Gets the horizontal and vertical sampling factor.
None

Get size
Returns the size associated with the Imagick object
None



As an array with the keys "columns" and "rows".
Get size offset
Returns the size offset associated with the Imagick object.
None

Get version
Returns the ImageMagick API version as a string and as a number.
API version number: 1608
API version string: ImageMagick 6.4.8 2010-10-13 Q16 OpenMP http://www.imagemagick.org


array getVersion ( void )

<?php 
$version 
Imagick::getVersion();
echo 
"API version number: ".$version['versionNumber']."<br>";
echo 
"API version string: ".$version['versionString']."<br>";
 
?>
Hald clutImage
Replaces colors in the image using a Hald lookup table.
None



Hald images can be created using HALD color coder.
Has next image
Checks if the object has more images
None

Has previous image
Checks if the object has a previous image
None

Identify image
Identifies an image and returns the attributes.
See notes.



Array ( [imageName] => /home/usr/public_html/TESTS/imagick/temp.jpg [format] => JPEG (Joint Photographic Experts Group JFIF format) [geometry] => Array ( [width] => 200 [height] => 150 ) [resolution] => Array ( [x] => 72 [y] => 72 ) [units] => PixelsPerInch [type] => TrueColor [colorSpace] => RGB [compression] => JPEG [fileSize] => 16kb )
Imagick version
Imagick version
None


Imagick::IMAGICK_EXTNUM

<?php 
$version 
Imagick::IMAGICK_EXTNUM;

echo 
$version;
 
?>


30001