Functions page: 10

Get image total ink density
Gets the image total ink density.
None

Get image type
Gets the potential image type.
The image type is 6


int getImageType ( void )

<?php 
$im 
= new Imagick($input);
$type $im->getImageType();
echo 
"The image type is ".$type;
 
?>
Get image units
Gets the image units of resolution.
None

Get image virtual pixel method
Returns the virtual pixel method for the specified image.
None

Get image white point
Returns the chromaticity white point as an associative array with the keys "x" and "y".
Array ( [x] => 0 [y] => 0 )


array getImageWhitePoint ( void )

<?php 
$im 
= new Imagick($input);
$whitePoint $im->getImageWhitePoint();
print_r($whitePoint);
 
?>
Get image width
Returns the image width.
Image width = 200


int getImageWidth ( void )

<?php 
$im 
= new Imagick($input);
$width $im->getImageWidth();
echo 
"<br>Image width = $width";
 
?>
Get images blob
Implements direct to memory image formats.
None



It returns all image sequences as a string. The format of the image determines the format of the returned blob (GIF, JPEG, PNG, etc.). To return a different image format, use Imagick::setImageFormat().
Get interlace scheme
Gets the object interlace scheme.
Image interlace scheme = 1


int getInterlaceScheme ( void )

<?php 
$im 
= new Imagick($input);
$interlace $im->getInterlaceScheme();
echo 
"<br>Image interlace scheme = $interlace";
 
?>
Get iterator index
Returns the index of the current active image within the Imagick object.
None

Get number images
Returns the number of images associated with Imagick object.
None

Get option
Returns a value associated within the object for the specified key.
None

Get package name
Returns the ImageMagick package name.
None

Get page
Returns the page geometry associated with the Imagick object
None



In an associative array with the keys "width", "height", "x", and "y".
Get pixel iterator
Returns a MagickPixelIterator.
None

Get pixel region iterator
Get an ImagickPixelIterator for an image section.
None