ZiniGo icon indicating copy to clipboard operation
ZiniGo copied to clipboard

How about using higher svg image quality?

Open bookyue opened this issue 4 years ago • 6 comments

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

bookyue avatar Mar 29 '21 10:03 bookyue

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

TheAxeDude avatar Apr 07 '21 05:04 TheAxeDude

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

Was this included yet?

digitalfreaknyc avatar Jun 11 '21 07:06 digitalfreaknyc

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

la0fan avatar Jan 31 '23 15:01 la0fan

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

TheAxeDude avatar Feb 15 '23 13:02 TheAxeDude

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?

jessienab avatar Feb 21 '23 14:02 jessienab

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.

lagrange101 avatar Apr 09 '23 13:04 lagrange101