remove int conversion
This commit is contained in:
parent
58a1b12c27
commit
4ea0d627f4
|
@ -343,7 +343,7 @@ App::get('/v1/storage/files/:fileId/preview')
|
|||
|
||||
$image = new Image($source);
|
||||
|
||||
$image->crop((int) $width, (int) $height, (int) $gravity);
|
||||
$image->crop((int) $width, (int) $height, $gravity);
|
||||
|
||||
if (!empty($opacity) || $opacity==0) {
|
||||
$image->setOpacity($opacity);
|
||||
|
|
Loading…
Reference in a new issue