Skip to content
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

How about using higher svg image quality? #17

Open
bookyue opened this issue Mar 29, 2021 · 6 comments
Open

How about using higher svg image quality? #17

bookyue opened this issue Mar 29, 2021 · 6 comments

Comments

@bookyue
Copy link

bookyue commented Mar 29, 2021

I noticed that there is a q=80 parameter in the SVG URL.
I guess the q means image quality and done a simple test.
I am not sure whether it can affect the final pdf file quality.
If it can, should we use q=100 instead of q=80 or add a quality option in the config file?

<image x="0" y="-1" width="911" height="1206" xlink:href="http://cdn-assets.ziniopro.com/var/site_3184/storage/issues/120/svg/img/page-018-img1.jpg?q=80"/>

I tested both q=80 and q=100 parameters. And the result is below.

image
image

PS attached the original Html file if you need it.
205560_16.html.tar.gz

@TheAxeDude
Copy link
Owner

That's a great find! I'll work on including this ASAP :)

@digitalfreaknyc
Copy link

That's a great find! I'll work on including this ASAP :)

Was this included yet?

@la0fan
Copy link

la0fan commented Jan 31, 2023

I have encountered the same demand, hope to see such a function as soon as possible, thank you!

@TheAxeDude
Copy link
Owner

Havent had a chance to give this any focus yet, but still think its worth doing.

@jessienab
Copy link
Contributor

Definitely interested in this too, the output images are quite rough quality wise at q=80.

I feel the easiest option is to simply do a replacement (sed?) within the HTML before writing it to PDF; is that feasible?

@lagrange101
Copy link

Very much interested in this, too - securing a substantial Zinio library for backup - there is a not insignificant loss in picture quality through the 80% quality reduction. No issue for pure text but pictures are suffering. Would be great to get the full quality in case something is happing to Zinio servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants