You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just set my profile header image from Snipping Tool on Windows, which generates PNG image by default. That caused a big 1 MB header. I don't want to let any visitors to download that much just for a silly header image.
It seems PNG is never compressed per the following code, if I'm reading right:
Summary
I just set my profile header image from Snipping Tool on Windows, which generates PNG image by default. That caused a big 1 MB header. I don't want to let any visitors to download that much just for a silly header image.
It seems PNG is never compressed per the following code, if I'm reading right:
misskey/packages/client/src/scripts/upload.ts
Lines 19 to 23 in c0c23b1
Maybe PNG should also be compressed by default since there is an explicit flag to opt-out?
The text was updated successfully, but these errors were encountered: