Adapter/GD.php
protected function openJpeg($file)
    {
        if (file_exists($file) && filesize($file)) {
            $this->resource = @imagecreatefromjpeg($file);
        } else {
            $this->resource = false;
        }
    }
protected function openJpeg($file)
    {
        if (file_exists($file) && filesize($file)) {
            $this->resource = @imagecreatefromjpeg($file);
        } else {
            $this->resource = false;
        }
    }
protected function openJpeg ( $ file ) { if ( file_exists ( $ file ) && filesize ( $ file ) ) { $ this -> resource = @ imagecreatefromjpeg ( $ file ) ; } else { $ this -> resource = false ; } }
Try to open the file using jpeg.
Try to open the file using jpeg .