PDF Resolution
-
Much like @aiye89, I had an issue with PDF resolution. @mennolui you provided a helpful answer here:
https://ww.wp.xz.cn/support/topic/pdf-slide-bad-resolution/I solved a similar problem by modifying the resolution in the following script:
foyer/includes/class-foyer-image-editor-imagick.phpAround line #72 we fine the following line:
$this->image->setResolution( 72, 72 );I changed this line to read as follows:
$this->image->setResolution( 300, 300 );As a result the PDF slides are generated at a higher resolution.
However, I would like to be able to change this without having to modify the plugin itself. @mennolui can you please make this resolution setting adjustable? For example via a WordPress hook? That way we could set the resolution in the theme’s functions.php rather than modifying the plugin. Alternately if you could add some User Interface to achieve this it would also do the trick.
Thanks for a great plugin.
The topic ‘PDF Resolution’ is closed to new replies.