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

カスタム絵文字はサムネイルで十分そう #8319

Closed
tamaina opened this issue Feb 15, 2022 · 6 comments · Fixed by #9431
Closed

カスタム絵文字はサムネイルで十分そう #8319

tamaina opened this issue Feb 15, 2022 · 6 comments · Fixed by #9431
Labels
✨Feature This adds/improves/enhances a feature

Comments

@tamaina
Copy link
Member

tamaina commented Feb 15, 2022

Summary

Avatar (user icon) images and custom emoji images should be compressed by the proxy.

アバター(ユーザーアイコン)やカスタム絵文字は、webpublic (最大2048px)をそのまま突っ込む形になっており、通信量が厳しい。
プロキシに突っ込んで適当なサイズ(縦256pxぐらい?)のwebpにしたい。

Needed

#3969 gif, apng, animated webpが動くようにしたい
#6626 透過画像も扱えるようにwebp使う

Related?

#7601
#6626
#7505
#7601
#7767

@tamaina tamaina added the ✨Feature This adds/improves/enhances a feature label Feb 15, 2022
@tamaina
Copy link
Member Author

tamaina commented Feb 19, 2022

Mastodonってwebm送り付けて大丈夫なんかな

@tamaina
Copy link
Member Author

tamaina commented Feb 19, 2022

(webmとanimated webpは別物か

@tamaina
Copy link
Member Author

tamaina commented Feb 19, 2022

というかproxy通すのはMastodonに送らないから気にしなくていいか

@tamaina
Copy link
Member Author

tamaina commented Feb 20, 2022

proxyを拡張しようかなと思ったけど、/avatar/emojisを拡張して画像を送出するようにしたほうが良い気がした

@tamaina
Copy link
Member Author

tamaina commented Feb 20, 2022

/emojisは拡張できないから/emojiを作るか

@tamaina tamaina changed the title アイコンやカスタム絵文字はすべてプロキシして圧縮をかける カスタム絵文字はすべてプロキシして圧縮をかける May 4, 2022
@tamaina tamaina changed the title カスタム絵文字はすべてプロキシして圧縮をかける カスタム絵文字はサムネイルで十分そう May 4, 2022
@tamaina
Copy link
Member Author

tamaina commented Dec 29, 2022

proxyで?emoji=1で専用モードを作って/emojiからリダイレクトさせるようにするか

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

Successfully merging a pull request may close this issue.

1 participant