Conversation

Exa, discontinuous anomaly

una do you ever think about how serving different encodes of the same avatar at different sizes and in different formats tends to just waste bandwidth

1
0
0

una did you know jxl fixes this you can just download as much of the file as you need to display a small preview and then finish downloading the file once you want the full res

1
0
0

una "progressive jpeg and avif also do this" yes

1
0
0

@exa isn't the only image format that doesn't do this like

gif

1
0
0

@ben una and png, and classic jpeg, and webp

1
0
0

@exa png has interlaced encoding which can also have much smaller overall file sizes than non-interlaced

1
0
0

@ben @exa i think interlaced/progressive encodings tend to be significantly bigger than regular ones, and in the case of png i don’t see any reason why it should be smaller

1
0
0

@charlotte @exa maybe I'm remembering jpeg? I just definitely remember repeatedly being surprised that an image size estimate is significantly smaller when enabling progressive mode

1
0
0

@ben @exa progressive mode as in progressive scan (1 pass) or as in progressive decoding (multi-pass)?

2
0
1

@ben @exa huh indeed the progressive jpeg i made is very slightly smaller, weird!

0
0
1

@charlotte @exa just using this random image I had in my downloads folder:

0
0
0