欢迎各位兄弟 发布技术文章
这里的技术是共享的
public Intervention\Image\Image width()
Returns the width in pixels of the current image.
none
Width of current image as integer
// read width of image
$width = Image::make('public/foo.jpg')->width();
来自 http://image.intervention.io/api/width
public Intervention\Image\Image height()
Returns the height in pixels of the current image.
none
Height of current image as integer
// read height of image
$height = Image::make('public/foo.jpg')->height();