CImage.php
public function useOriginalIfPossible($useOrig = true)
    {
        if ($useOrig
            && ($this->newWidth == $this->width)
            && ($this->newHeight == $this->height)
            && !$this->area
            && !$this->crop
            && !$this->cropToFit
            && !$this->fillToFit
            && !$this->filters
            && !$this->sharpen
            && !$this->emboss
            && !$this->blur
            && !$this->convolve
            && !$this->palette
            && !$this->useQuality
            && !$this->useCompress
            && !$this->saveAs
            && !$this->rotateBefore
            && !$this->rotateAfter
            && !$this->autoRotate
            && !$this->bgColor
            && ($this->upscale === self::UPSCALE_DEFAULT)
            && !$this->lossy
        ) {
            $this->log("Using original image.");
            $this->output($this->pathToImage);
        }

        return $this;
    }
public function useOriginalIfPossible($useOrig = true)
    {
        if ($useOrig
            && ($this->newWidth == $this->width)
            && ($this->newHeight == $this->height)
            && !$this->area
            && !$this->crop
            && !$this->cropToFit
            && !$this->fillToFit
            && !$this->filters
            && !$this->sharpen
            && !$this->emboss
            && !$this->blur
            && !$this->convolve
            && !$this->palette
            && !$this->useQuality
            && !$this->useCompress
            && !$this->saveAs
            && !$this->rotateBefore
            && !$this->rotateAfter
            && !$this->autoRotate
            && !$this->bgColor
            && ($this->upscale === self::UPSCALE_DEFAULT)
            && !$this->lossy
        ) {
            $this->log("Using original image.");
            $this->output($this->pathToImage);
        }

        return $this;
    }
public function useOriginalIfPossible ( $ useOrig = true ) { if ( $ useOrig && ( $ this -> newWidth == $ this -> width ) && ( $ this -> newHeight == $ this -> height ) && ! $ this -> area && ! $ this -> crop && ! $ this -> cropToFit && ! $ this -> fillToFit && ! $ this -> filters && ! $ this -> sharpen && ! $ this -> emboss && ! $ this -> blur && ! $ this -> convolve && ! $ this -> palette && ! $ this -> useQuality && ! $ this -> useCompress && ! $ this -> saveAs && ! $ this -> rotateBefore && ! $ this -> rotateAfter && ! $ this -> autoRotate && ! $ this -> bgColor && ( $ this -> upscale === self :: UPSCALE_DEFAULT ) && ! $ this -> lossy ) { $ this -> log ( "Using original image." ) ; $ this -> output ( $ this -> pathToImage ) ; } return $ this ; }
Use original image if possible, check options which affects image processing.

@param boolean $useOrig default is to use original if possible, else set to false.

@return $this
Use original image if possible check options which affects image processing .