$media->ratio()

Returns the ratio of an image file

  • return (float)

Example

echo $media->ratio();
// i.e. 1.345232

Is something missing or incorrect? Edit this page on Github…