getWatermark()) { $widthWatermarkNew = $width * 0.95; $heightWatermarkNew = $widthWatermarkNew * $heightWatermarkDefault / $widthWatermarkDefault; $this->setWatermarkSize($widthWatermarkNew . 'x' . $heightWatermarkNew); } return $this; } }