$reffile = $this->makeSVGFile();
$minsize = 100;
} else if (in_array($this->getFormat(), ['png', 'jpg'])) {
+ $q = ($this->getFormat() === 'jpg' && $this->getQuality() !== 85) ? '-' . $this->getQuality() : '';
$prefix = $this->isWithTexts() ? 't' : 'h';
if ($this->getResolution() === 'thumb') {
$res = $dir . 'p' . $this->getPage() . '.' . $this->getFormat();
} else {
- $res = $dir . $prefix . $this->getPage() . '-' . $this->getResolution() . '.' . $this->getFormat();
+ $res = $dir . $prefix . $this->getPage() . '-' . $this->getResolution() . $q . '.' . $this->getFormat();
}
} else if ($this->getFormat() === 'swf') {
$res = $dir . 'p' . $this->getPage() . '.' . $this->getFormat();