resizeExactHeight

Resize image to exact height. Width is auto calculated. Useful for creating row of images with the same height.

resizeExactHeight ( ImageInterface &$image, int $newHeight ): EditorInterface 
Parameters
image

Instance of Image.

newHeight

Height in pixels.

Returns
An instance of Editor.