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

add (Google) webp image support #491

Open
BrianInglis opened this issue May 21, 2022 · 1 comment
Open

add (Google) webp image support #491

BrianInglis opened this issue May 21, 2022 · 1 comment
Labels
enhancement New feature or request priority-low
Milestone

Comments

@BrianInglis
Copy link

Please consider adding webp image support from Google.
This format can be considerably smaller than legacy formats greatly benefiting mobile and low bandwidth users.
It would be advantageous to be able to convert images to webp format files and use them in our standard processes where there is a benefit.
We currently convert the images offline using various webp conversion utilities and options and pick the smallest converted files, which must also be smaller than the original image format files, and update the (mainly xml) web page source image references.
We have started migrating Cygwin and newlib web pages to use webp images, but htmldoc is part of some site doc (mainly PDF) generation processes, so we can not easily migrate those pages, without adding complexity including auxiliary webp image conversion, and generated web page href suffix editing processes, after PDF conversion, for those images which benefit from webp conversion.

@michaelrsweet
Copy link
Owner

@BrianInglis I don't have a strong desire to add this format and would require yet another external library reference to deal with or more custom code for me to maintain in HTMLDOC, which is really in maintenance mode at this point. And honestly if I did add support for webp I'd likely have to just convert it internally to flate-compressed RGB (basically PNG) when embedding in a PDF file, so you'd lose any benefits in the process... :/

I will leave this feature request open, and possibly consider adding webp support to HTMLCSS which is the core of a new generation of HTMLDOC utility, but not something I've had a lot of time to work on lately...

@michaelrsweet michaelrsweet added enhancement New feature or request priority-low labels May 22, 2022
@michaelrsweet michaelrsweet added this to the Future milestone May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low
Projects
None yet
Development

No branches or pull requests

2 participants