Closed ghost closed 6 years ago
Prince should be honoring any CSS applied to the images or using their default resolution. You can try overriding the images resolution with http://www.princexml.com/doc/properties/prince-image-resolution/ or http://www.princexml.com/doc/command-line/#cmd-raster, or add a custom stylesheet that targets the trouble images and sets e.g. width:100%
. If that doesn't work... try running Prince manually: if it has the same problem it's a Prince bug, not the plugin's.
Yeah setting prince-image-resolution solved the issue, thanks!
You can also add a --css-dpi
command-line argument to your settings or to the specific conversion.
Prince conversion gets images too small, as you can see from this screenshot:
Instead, stock PDF conversion scales the images much better
This is a serious problem because some badly tailored ebooks put text into images which are unreadable if they are too small. Here is an example:
Prince (unreadable):
Stock PDF conversion (more readable):
Unless I am missing some Prince option that manages this