-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(frontend): selectable compression kind #11760
Conversation
feat(frontend): selectable compression kind Cherry-picks 300d272
Codecov Report
@@ Coverage Diff @@
## develop #11760 +/- ##
===========================================
- Coverage 78.64% 78.59% -0.06%
===========================================
Files 923 923
Lines 97475 97549 +74
Branches 7747 7747
===========================================
+ Hits 76662 76671 +9
- Misses 20813 20878 +65
|
ユーザー目線では、再圧縮や非可逆圧縮と言われてもあまり理解できないかも? |
noresizeはサーバーで尊重されない(サーバーで再圧縮がかかる)はず |
というか(何も改造していなければ)2048pxを超える画像はWeb公開用としてはサーバーサイドで再圧縮がかかっている ただしサーバーサイドで再圧縮をかける際はpngはpngになる(sharp.jsだとlossless webpよりpngの方が圧縮率を高められるため) |
jpegはサーバーサイドでwebpに変換されるがsmartSubsampleとかがあるのでブラウザよりサーバーサイドのsharp.jsの方が圧縮の性能がいい(のでオリジナル画像アップロードの方がいいよねという話なんだと思う) |
については私のミスで、実装糸としては大きく画像を表示したときに元画像が表示されてるのを意図していました。 "2048pxを超える画像はWeb公開用としてはサーバーサイドで再圧縮がかかっている"の実装意図は何でしょうか?明確なものがなければ消したいと思っています。 |
画像サイズの低減を狙ったものであり、この制限を外すつもりはありません。 iPadであっても2048pxで十分ですが、avifが導入できれば4096pxに引き上げたいと思っています。 |
なるほどです。 この変更はユーザがそのままの解像度の画像を見てほしいというユーザの声をもとに作成したものになります。そのためこの意図が達成できないのであればこのpullreqはCloseします。 想定プラットフォームは高解像度PCのつもりです |
(ノート投稿フォームでオリジナル画像のURLを本文中に挿入する機能とかがあっても良さそう) |
ユーザが拡大して見たいと言ってクリックしたときとは別のリンクとして置く理由は私には理解ができていません。 |
issueの議論なしにpullreq失礼します。
What
Why
https://misskey.niri.la/notes/9il57tmb30
Additional info (optional)
Checklist