JPG, PNG, WebP, AVIF, BMP and ICO all decode through the browser’s own image pipeline. TIFF does in Safari; Chrome and Firefox do not open TIFF, so this page fetches its own small reader the first time one arrives — uncompressed, LZW, Deflate and PackBits files at 1, 8 or 16 bits, in greyscale, RGB, palette or CMYK. HEIC — what a recent iPhone writes unless you have told it otherwise — needs a WebAssembly decoder, fetched the first time one of them arrives and absent from the page until then, so nobody who never opens a HEIC ever downloads it.
Four container details change what happens rather than what is said about it. A JPEG carrying four colour components is CMYK or YCCK, converted to screen colour on the way in and named in the panel, because a histogram built from ink would make every figure after it meaningless. A file with an alpha channel keeps it: the correction runs on the colour channels and copies transparency through untouched, so a cut-out does not come back with a grey rectangle behind it. An animated GIF or WebP is declined at the door with the reason, since a browser hands back only the first frame and a corrected copy would be one still where a moving picture used to be — with an offer to open that first frame as a still, said as exactly that. A file tagged with a wide colour space (Display P3, Adobe RGB) is named in the panel, because the saved copy is sRGB. And the orientation flag is resolved into the pixels before anything is measured, which is also why it is stripped from what you save — a photograph that carries its rotation twice arrives sideways.
Past roughly thirty-two megapixels — sixteen on an iPhone or iPad, where the canvas limit is far lower and failure is silent — a lighter working copy is offered as a choice rather than an error. Past a hundred, the file is declined with its measured size named. The ceiling on the file itself is 120 MB.