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

Made &lossless a requirement to not use the original image.

This commit is contained in:
Mikael Roos
2016-08-09 13:27:30 +02:00
parent e59ef91991
commit 0f9e0220f1
4 changed files with 11 additions and 4 deletions

View File

@@ -1365,6 +1365,7 @@ class CImage
&& !$this->autoRotate
&& !$this->bgColor
&& ($this->upscale === self::UPSCALE_DEFAULT)
&& !$this->lossy
) {
$this->log("Using original image.");
$this->output($this->pathToImage);