Change image creation default from png to webp. #2714
Unanswered
ejboettcher
asked this question in
Q&A
Replies: 1 comment 4 replies
-
We already have multiformat figures, so if I understand your proposal correctly, this should be doable as a quarto filter extension that would look at the generated HTML and create the new images as needed (this will be significantly easier in 1.3 as well). @dragonstyle how much figure work do we do in our html TS postprocessor? I'm wondering if that could be a snag. I'm somewhat reluctant to move all of our images to format controlled by Google (and .jpg is lossy and problematic), but a filter extension seems ideal for this. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First thank you for Quarto. I find it refreshing and easier to use than Jekyll or 11ty.
However, 11ty with Tailwind will generate new images for static sites that are optimized for both mobile and computer using web friendly image format .wepb. This helps makes the site feel more responsive.
Is there any way you can change the default image that is created from code say from a python plot to webp. Quarto currently saves them as a LARGE png file? Even switching to jpg can save bandwidth. Bonus, if you can generate two static images: one for mobile and another desktop.
Thanks again for putting quarto together.
Beta Was this translation helpful? Give feedback.
All reactions