Image::width
Get width of current image
2.9M Downloads / Month
Open Source MIT License
2.9M Downloads / Month
Open Source MIT License
public Intervention\Image\Image width()
Returns the width in pixels of the current image.
none
Width of current image in pixels as integer
// read width of image
$width = Image::make('public/foo.jpg')->width();