Originally posted by FHPhotographer Marc, I've been converting RAW>TIFF>JPEG images for a couple of years now, and this has never happened before.
You've never had a file where the number pixels didn't exactly match the number of bytes in the file? Sorry, but that's flat out impossible. The number of pixels almost *never* matches the number of bytes. I can only assume you must not have paid that attention to these numbers before, or that you normally use a level of JPEG compression that happens to result in a file size that is close enough to the number of pixels that you never worried about the discrepancy. But more compression gives you a smaller file in bytes for the same number of pixels. And likewise, less compression gives you a bigger file in bytes for the same number of pixels. This file must have had relatively low compression compared to what you normally use - or else has a ton of metadata (EXIF, IPTC info, etc). I routinely generate JPEG files with 2.2MP, but depending on the level of compression I apply, I might get files of only 100K or files of about 3MB.
The fact that with 2.2M worth of pixels, I could only a get a file as big as about 3M worth of bytes does suggest something is unusual in your situation - I'm not sure there is a level of JPEG compression low enough to give a 2MB file size if you have only 712K of pixels. So there could be an unusually big block of metadata (keywords, captions, LR adjustment parameters, etc) or something. Or maybe it really just is very low compression. Definitely worth looking at. But whatever the result here, the bottom line is that the numbers you are comparing are not 8suppsoed* to be equal. Pixels are not bytes; counting pixels does not give you a count of bytes.
Quote: So you calculate the "size" in KB/MB from the pixel size ?
No. As I said, number of pixels has nothing to do with file size. Well, OK, in a basic dense, more pixels means bigger files all else equal. but there is no formula to tell you the file size given the number of pixels - there's too many variables involved. Such as amount of compression, whether you are using 8 bits per channel or 16, how much metadata your file has, etc.
Quote: But the KB/MB size doesn't show up in PS (or I'm not reading the information correctly), so there's no way of seeing the size of an image until it's saved?
Correct, because it's not until it's saved that the compression is applied. Perhaps there's a dialog somewhere that tells you what the file size *would* be *if* saved it with the currently selected level of compression.