Luminous Landscape Forum

Raw & Post Processing, Printing => Digital Image Processing => Topic started by: robgo2 on May 02, 2013, 11:13:13 am

Title: TIFF files enlarge after saving
Post by: robgo2 on May 02, 2013, 11:13:13 am
I have noticed that my TIFF files balloon in size whenever I save them.  For instance, a particular file may be 185MB when open with layers in CS6, but it increases to 317MB when I save it as a TIFF.  If I use ZIP compression, it may be reduced to 285MB.  Is this normal behavior?

Thanks,
Rob
Title: Re: TIFF files enlarge after saving
Post by: Schewe on May 02, 2013, 01:26:53 pm
How many channels/layers? The size when open is assuming a flattened pixel dimension, but adding layers and channels increases the final saved file on disk.
Title: Re: TIFF files enlarge after saving
Post by: xpatUSA on May 02, 2013, 01:40:20 pm
I have noticed that my TIFF files balloon in size whenever I save them.  For instance, a particular file may be 185MB when open with layers in CS6, but it increases to 317MB when I save it as a TIFF.  If I use ZIP compression, it may be reduced to 285MB.  Is this normal behavior?

Sorry, I didn't quite get whether the file 'when open' was a TIFF or not, before "saving as"?

My own humble experience is that a 3.86MB X3F file opened today in DCraw saved as a 9.81MB TIFF uncompressed. A growth ratio of 2.54 for that particular file.
Title: Re: TIFF files enlarge after saving
Post by: robgo2 on May 02, 2013, 04:31:03 pm
The files opened in Photoshop are unflattened TIFFs.  The file size that I quoted for them includes all open layers and channels.  Why would the size increase when the file is saved?  FWIW, the original raw files start at roughly 25MB.

Rob
Title: Re: TIFF files enlarge after saving
Post by: xpatUSA on May 02, 2013, 05:03:35 pm
The files opened in Photoshop are unflattened TIFFs.  The file size that I quoted for them includes all open layers and channels.  Why would the size increase when the file is saved?  FWIW, the original raw files start at roughly 25MB.

Sorry Rob, I've never used layered TIFF's, so I don't know enough to answer the question.
Title: Re: TIFF files enlarge after saving
Post by: tar4heel2 on May 05, 2013, 01:17:47 pm
Some clarification is needed here; are you opening RAW files and saving to TIF?  I assume that's what you're doing.

There are potentially two scenarios at work here:

1) Saving to 16-bit TIF will increase your file size due to the increase bit depth.
2) As mentioned before, saving multiple layers will increase your file size tremendously.  Your Photoshop should be warning you the file size is larger when saving as TIF with multiple layers open.  If you're not getting this warning, it's definitely the difference in 16 bit TIF.
Title: Re: TIFF files enlarge after saving
Post by: Dave (Isle of Skye) on May 09, 2013, 11:46:36 am
I have noticed that my TIFF files balloon in size whenever I save them.  For instance, a particular file may be 185MB when open with layers in CS6, but it increases to 317MB when I save it as a TIFF.  If I use ZIP compression, it may be reduced to 285MB.  Is this normal behaviour?

Thanks,
Rob

Hi Rob,

I think this may be the same thing that I noticed on my own files a while back and wondered as you do, what was causing the ballooning file size problem.

The solution I found was to make sure that you have all the layers flattened to a 'Background' layer at the end of your processing and before you commit to a file save. Just merging layers down or using the short cut keys Ctrl+E or Ctrl+Shift+E etc, does indeed appear to flatten the layers into a single layer, but it does not flatten them into a 'Background' layer and there is a huge size difference as a result if you don't do this.

Why a 'Background' layer should be so much smaller than a flattened single layer I do not know (and perhaps someone here does and would like to tell us?), as it contains no more or no less information, but it just does.

Or if you want to save your files with the layers still in tact, then just make sure that the bottom layer of your stack is a 'Background' layer. You can do this by highlighting the bottom layer of the stack, then selecting the 'layers' menu and 'New Background from Layer' through the layers menu drop down list.

Dave