1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-01 14:00:08 +02:00

stretch not applying no upscale

This commit is contained in:
Mikael Roos
2015-12-06 11:55:09 +01:00
parent 5a09c38f5d
commit 52ce33d928

View File

@@ -553,9 +553,8 @@ class CImageResizer
} elseif ($rs === CImageResizer::STRETCH && $both) {
// Stretch to fit, leave as is
// Ignores respectUpscale by intention
$this->log(" Stretch, leave as is");
$this->respectUpscale($tw, $sw);
$this->respectUpscale($th, $sh);
} elseif ($rs === CImageResizer::CROP_TO_FIT && $both) {