Today’s Question: I have an image that I exported from Lightroom Classic telling it to make it 1200KB or smaller. In Windows Explorer shows as 1.28MB. I open it in Photoshop and in “Image Size” it shows 4.32MB. I save it from Photoshop at level 9 [for JPEG quality] getting an estimate of 433KB. I open the saved image in Photoshop, and it still says it is 4.32MB. I assume Photoshop is incorrect. Is it and why?
Tim’s Quick Answer: Photoshop is “wrong” only in the sense that it isn’t actually reporting file size in the Image Size dialog, but rather the amount of data represented by the image based on specific parameters.
More Detail: The most significant mismatch here is actually a mismatch in terms of what information is being conveyed, not an actual error in Photoshop. In the Image Size dialog (Image > Image Size from the menu) the Image Size indicated at the top of the dialog is a representation of the amount of data contained in the image. Think of this as an indication of how large the file would be if you saved it as a TIFF file with all layers flattened and without compression applied.
If you save the image with layers, it will be larger than indicated. If you save the image in a file format (such as JPEG) with compression applied, the file size will be smaller. Frankly, I don’t think the number is really very useful for most users, because we tend to think of image size as a measure of how large the image will appear on a display or in print, or based on how many megapixels it represents.
A JPEG image has significant (and lossy) compression applied to it, which varies based on the Quality setting used. But the image still contains a specific number of pixels that represents the equivalent of much more data relative to the file size on the hard drive. It is just that the image quality has been degraded in order to achieve a smaller file size for a relatively large amount of data compared to that file size.
The discrepancy between the requested file size of 1200KB and 1.28MB (nominally 1280KB) is mostly because Lightroom Classic doesn’t do a perfect job of meeting file size requests. In some cases this is a matter of not being able to get the file size small enough based on available JPEG compression, for example.
In addition, the relationship between kilobytes and megabytes isn’t as straightforward as many people assume. One megabyte is actually 1,024 kilobytes, not 1,000 kilobytes. Furthermore, the actual amount of hard drive space consumed will not perfectly match the file size because of the way hard drive clusters are structured in terms of “chunks” of data that represent files on a hard drive. But this final paragraph perhaps exposes my nerd qualities more than is necessary for today’s question.

