forked from ericnograles/browser-image-resizer
-
Notifications
You must be signed in to change notification settings - Fork 8
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
縮小アルゴリズムをよりよくする? #10
Comments
わざわざJS/Canvasでやる必要あるんだろうか… https://docs.rs/image/latest/image/imageops/fn.resize.html のlancoz3を使えば手っ取り早そう |
hermiteは高速なだけでbilinearより見た目が良くない |
(アルゴリズムどうこうじゃなくてアンシャープマスクが必要なんだろうなと思っている) |
https://github.com/misskey-dev/browser-image-resizer/releases/tag/v2.2.1-misskey.9 普通にcanvasのdrawImageを使えば良さそうなのでそうした |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
結果の画質が微妙かもしれない
BilinearではなくPixel Mixingを使うとか(私は書けないけど)
The text was updated successfully, but these errors were encountered: