HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelDevelopmentTutorial Source codeReport an issue
Category
Example

Imagick::getImageMimeType

← getImageHistogram   getPixelIterator →
Returns the image mime-type.
Imagick::getImageMimeType result is: image/jpeg

Example

$imagick = new \Imagick($this->imageControl->getImagePath());
$output = 'Imagick::getImageMimeType result is: ';
$output .= $imagick->getImageMimeType();
return $output;