10-03-2007, 9:09
|
Maen Hasan

Joined on 08-05-2004
Posts 1,715
|
Re: can one tell the final kb size before saving?
|
 
 
|
|
|
Hello,
The compression ratio is not based on the original file size. It is based on the uncompressed image size in memory (measured in bytes). The image size in memory is roughly equal to (pixel width * pixel height * bits per pixel / 8)
The actual size saved in bytes might differ a little, but this is usually less than 1% difference.
So if the image in memory is 2.5 Megabytes, and saving with a compression ratio of 25, the target file size will be around 0.1 megabytes.
Thanks, Maen Badwan LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|