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

webp→webp変換で元ファイルの可逆と非可逆を考慮する #11170

Closed
Narazaka opened this issue Jul 7, 2023 · 3 comments
Closed
Labels
✨Feature This adds/improves/enhances a feature

Comments

@Narazaka
Copy link
Contributor

Narazaka commented Jul 7, 2023

Summary

#9370 の実装でwebp→webp変換がとりあえず非可逆圧縮になっている。

元ファイルが可逆か非可逆かに応じてあわせた方が良いかも。

https://github.com/mooyoul/node-webpinfo で判定出来る

可逆か非可逆かだけ判定する最小構成な感じではなかったので自分でも作った
https://github.com/Narazaka/webp-is-lossless

コピペするかnpm iするか他のを使うか

@Narazaka Narazaka added the ✨Feature This adds/improves/enhances a feature label Jul 7, 2023
@tamaina
Copy link
Contributor

tamaina commented Jul 7, 2023

「オリジナル画像を保持」でユーザーが選択できるので非可逆でいい

ブラウザサイドで非可逆にするのが大変そうだし、それをするならいっそavifへ変換したい

@tamaina tamaina closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2023
@tamaina
Copy link
Contributor

tamaina commented Jul 7, 2023

avifの非可逆もやらない方針

(png→avif変換は限りなく品質を維持しつつ可逆でやりたい)

@Narazaka
Copy link
Contributor Author

Narazaka commented Jul 8, 2023

まあたしかにツイとか他サービスとかも一般に気軽にjpgにしてくるしよいのかも

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature This adds/improves/enhances a feature
Projects
None yet
Development

No branches or pull requests

2 participants