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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Will this tool ever support WebP ? #419

Open
change-thegame opened this issue Aug 24, 2023 · 4 comments
Open

[REQUEST] Will this tool ever support WebP ? #419

change-thegame opened this issue Aug 24, 2023 · 4 comments

Comments

@change-thegame
Copy link

WebP is now the new standard for images on web. Would be amazing to include the cwebp library in this. 馃檹
https://developers.google.com/speed/webp/docs/cwebp

p.s sorry if this has already been asked of

@NiklasBr
Copy link

NiklasBr commented Aug 24, 2023

Answer: No, webp in it's current state can not be supported. It has no optimisation tools, and it has no specification which allows for alternative implementations which could provide better compression in a compatible manner.

See some of the many previous issues: #249 #278 #338

@kasperkamperman
Copy link

Same question but for AVIF.

Would you consider conversion or is the focus purely on optimizing? At least from that point I get that you won't support webm, avif.

Conversion from jpeg to avif/webm might be an interesting use case though.

@radicaldotgraphics
Copy link

I think the way people are using this tool and the author's intent are slightly different.

  • The author wants to create a tool that optimizes a file. Webp as an input can't be optimized, and as an output is a different file which isn't in line with the author's intent.
  • Users utilize ImageOptim to generate smaller file sizes for their clients. We would welcome a smaller file size even if that meant generating a new file.

I think there could be an opportunity for a paid version of ImageOptim? I know I'm extremely happy with ImageOptim and if it could also generate files like webp I'd be happy to pay for it. Just a thought.

@blopker
Copy link

blopker commented Feb 7, 2024

I just ran into this issue and decided to try to make my own version of ImageOptim that supports WEBP: https://github.com/blopker/alic If anyone tries it out, I'd love some feedback! It does all the processing with threads instead of seperate processes, which seems to make optimizing much faster too. It's also using a newer set of tools so the optimizations are ~5% better, which is cool.

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

5 participants