In-reply-to » @fastidious On the loss of quality on image processing / resizing... I think it might have something to do with the resampling that occurs during the resize operation. On the backend yarnd we use the gift library for most processing (mostly just Resize() and ResizetoFit()). PNG itself is a lossless image format with selectable compression levels depending on output size and decode speed, so I think the culprit is the resampling...

@prologic@twtxt.net so I checked. It seems we are already using the best resampling method. So… hmm, yeah. Other than resizing the images less—say, instead of 850px, resize to 1000px, if bigger than 1000px—I don’t see any other way to get better results.

⤋ Read More