I have a tif. I save it to jpg with certain quality,
say (80%). Is the compression ratio saved in the image
file?
Hi.
I’m not sure what you mean by 80%. Perhaps you mean that your file on your HD is 80% as large as the in-memory
version or perhaps you might mean that it is 20% as large (i.e. it was reduced by 80%).
Assuming you’re using PSP 7/8/9, JPEG compression off the Save As Options button is a unitless scale from 1 to 100. It is actually exponential, not linear, and not a
percentage reduction in file size.
1 will yield a file approximately half-size. I really
don’t know what 100 does, but it’ll certainly make
mincemeat out of your file!
I won’t go any further into the tall weeds and confuse you unless you have another question. But, to the question did ask, NO, AFAIK, the JPEG compression factor is NOT stored with the file.
If you really need to know what it is approximately, open the file in question and run the JPEG Optimizer: Save As> Options>Run Optimizer. Do a little experiemtation with the 1-100 factor, the Optimizer will show you a running count of the file size. When you get close to the on-disk size, you’ll have the approximate JPEG compression factor.
If there’s a direct way to do this, maybe more
knowledgeable about JPEG and PSP may answer your question.
—
ATM, aka Jerry