Low resolution
-
Generally working great but the quality of the rendered text on PDFs isn’t great due to a lack of antialiasing. I can fix this locally by increasing the resolution of the generated images:
private function getThumbnailBlob($filename) { $im = new Imagick(); $im->setResolution(200,200); $im->readImage($filename); $im->setIteratorIndex(0); $im->setImageFormat('jpg'); return $im->getImageBlob(); }
I don’t need the additional resolution, just for the text to be clearer so can you think of an alternative way to achieve this? Alternatively can you pass
$im = new Imagick()
through a filter so I can increase the resolution for my use case?Sample images here:
https://www.dropbox.com/sh/vd6il4eo783gmla/AACkbHmkzLH_vWlXg35BY_kYa?dl=0
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Low resolution’ is closed to new replies.