public Intervention\Image\Image filesize()
Gets the file size for the current image, if instance is initiated from an actual file.
none
Returns the size of the image file in bytes or false
if image instance is not created from a file.
// create an image
$img = Image::make('public/foo.jpg');
// get file size
$size = $img->filesize();
2023-09-08 更新 本文链接:https://upwqy.com/index.php/wiki/info/889.html