Sorry, no results were found for this search.

You are viewing the documentation for Intervention Image v2. This version has reached end of life (EOL). Please consider upgrading to Version 3.

public Intervention\Image\Image mime()

Read MIME Type of current image instance, if it's already defined.

Parameters

none

Return Values

MIME Type of current image.

Examples

// read mime type of image
$mime = Image::make('public/foo.jpg')->mime();

See also

Edit