Under the hood
Why 500 KB?
500 KB is a common upload limit, especially for fast-loading hero images, blog posts and messaging apps. Uploading a larger file usually fails with a "file too large" error.
JPEG quality between 60 and 85 is usually indistinguishable from the original on screen. For very small targets like 20 KB, the image will also be resized; a passport-style photo of about 400 × 500 px fits easily.