I tried uploading a full-page screenshot of a deleted question to share with low-rep users, and I noticed that the result was barely legible.
For example let's take a full-page screenshot of the XY problem FAQ page. The end result is a pixel-perfect PNG which occupies 1845833 bytes (1.85 kB or 1.76 kiB). Both are under the 2 MB upload limit of the UI.
But when I upload the image, this happens. What we get is an overcompressed mess of a JPEG where the text is barely legible. I didn't ask for this. At least the image is 742 kB in size; that's great, right?
If I convert the PNG to a JPEG myself using gimp I can end up with a sub-2MB image if I use 77% quality and chroma quartered subsampling. The result is a bit more blurry and dithered than the PNG but still easily legible, and its size is 1916719 bytes.
So let's upload the JPEG with the hopes of preventing automatic conversion (which is there for whatever reason). And we end up with this. Oh, it got compressed to death again! 735 kB size this time.
What I believe I know:
- I have uploaded walls of meta screenshots before, and the quality was always fine
- If I repeat the uploading process with something smaller (I tried with some images I found in some of my answers, all below 0.5 MB) the PNG to JPEG conversion doesn't even happen, so the problem is not universal.
Has something changed about how uploaded images are treated or is this something I just haven't noticed? And is there a size limit (either in bytes or in number of pixels) that triggers an aggressively compressed conversion to JPEG? And can we do anything about the latter? I would think that the 2 MB limit on uploaded files should in itself be enough of a safeguard, and such automatic conversion shouldn't happen at all.