-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use intrinsic image resolution in PDF #329
Comments
I'm not sure what you're suggesting. Are you proposing |
Assuming that there's a parameter to enable using intrinsic resolution (plus a parameter for fallback resolution), enabling it would include something like this in the CSS: -prince-image-resolution: auto, var(--fallback-resolution);
-ah-image-resolution: from-image var(--falback-resolution);
image-resolution: from-image var(--fallback-resolution); |
Actually, using intrinsic resolution and what override/fallback resolution to use could be separate decisions for every image. Not sure how you'd manage that. |
Is the absence of these properties causing formatting issues? |
Not for me, but only because I have the Antenna House Formatter property in my local CSS. Images for print typically have a higher resolution than do images for the screen. Images meant for high resolution output that are rendered at 96dpi take up too much space and, for the part that fits on the page, look too grainy. I regularly edit screenshots to be, say, 150dpi or 200dpi so that they don't take up too much space and so that they have a consistent scale, rather than larger screenshots being arbitrarily scaled down to fit the width of a page. |
What would a reasonable value be for the intrinsic and fallback resolutions? I've worked out a method for adding |
Antenna House Formatter implements
image-resolution
from the last GCPM WD that had it:Prince implements
image-resolution
with different syntax but also supports-prince-image-resolution
:The text was updated successfully, but these errors were encountered: