Image::mime

Get MIME Type of the current image

1.6M Downloads / Month

Open Source MIT License

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