HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelTutorial Source codeReport an issue
Category
Example

Imagick::getImageMimeType

← getImageHistogram   getPixelIterator →
Returns the image mime-type.
Imagick::getImageMimeType result is: image/jpeg
$imagick = new \Imagick($this->imageControl->getImagePath());
$output = 'Imagick::getImageMimeType result is: ';
$output .= $imagick->getImageMimeType();
return $output;