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:
@@ -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) {
|
||||
|
||||
|
Reference in New Issue
Block a user