public function toJPG()
    {
        $this->extension = 'jpg';
        $this->type = IMAGETYPE_JPEG;
        $this->mimetype = Utils::getMimetypeByImageType(IMAGETYPE_JPEG);
        return $this;
    }
public function toJPG()
    {
        $this->extension = 'jpg';
        $this->type = IMAGETYPE_JPEG;
        $this->mimetype = Utils::getMimetypeByImageType(IMAGETYPE_JPEG);
        return $this;
    }
public function toJPG ( ) { $ this -> extension = 'jpg' ; $ this -> type = IMAGETYPE_JPEG ; $ this -> mimetype = Utils :: getMimetypeByImageType ( IMAGETYPE_JPEG ) ; return $ this ; }
Changes output format to JPG.

@access public
@return \GImage\Image
Changes output format to JPG .