/** * Resize this Image by height, keeping aspect ratio. Use in templates with $SetHeight. * @return GD */ public function generateSetHeight(GD $gd, $height) { return $gd->resizeByHeight($height); }