heighten — Resize image proportionally to given height
Description
public Intervention\Image\Image heighten ( integer $height )
Resizes the current image to new height, constraining aspect ratio.
Parameters
height
The new height of the image
Return Values
Resized instance of Intervention\Image
Examples
// resize image new height
$img = Image::make('public/foo.jpg')->heighten(100);
See also
当前内容版权归 intervention 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 intervention .