Estimating image size in new format?
Posted: 2015-03-12T08:35:06-07:00
Hi! i have a large-ish image archive (many terabytes) that is currently in TIF format, I've just recently gone though it and made sure everything is LZW compressed, which saved several terabytes, but I'm wondering if there is a way to estimate the image size when changed to a new format -eg: converting the entire archive to PNG.
I want to get a rough idea of how much storage I am likely to save without going through the entire process of ACTUALLY converting images. It took several weeks of off-peak CPU time to get everything LZW compressed, and I was checking with to make sure I wasn't duplicating effort... Is there such an estimate feature somewhere in convert or mogrify? I can't seem to find one... Or does anyone know of a method to perform such an estimate... I certainly don't need to estimate it for the ENTIRE archive, but there is fairly wide image variation and a largeish sample set will be required to get a good idea of savings...
If the archive changes from TIF to PNG some of the processes that interact with it will need to be adjusted accordingly and I don't want to just jump in and start changing image format without having a good idea weather the disk usage savings are worth the effort.
thanks!
I want to get a rough idea of how much storage I am likely to save without going through the entire process of ACTUALLY converting images. It took several weeks of off-peak CPU time to get everything LZW compressed, and I was checking with
Code: Select all
identify -ping -format %C
If the archive changes from TIF to PNG some of the processes that interact with it will need to be adjusted accordingly and I don't want to just jump in and start changing image format without having a good idea weather the disk usage savings are worth the effort.
thanks!