It seems odd to me that raw would be a compressed format. granted i can see the reason, but wouldn't one expect the option to store an uncompressed file?
RAW typically uses lossless compression, whereas JPG is lossy.
TIFF is typically uncompressed, although it supports both lossless (LZW) and lossy (JPG) compression.
Lossless compression is the kind used in Zip, Rar etc, where one needs to be able to extract exactly the same contents that were compressed. Lossy compression removes what is not necessary for the final output, and is typically used in pictures (gif, jpg), audio (mp3, wma) and video (mpg, avc).
I've always wondered the same thing...but with the original poster....where does the extra 30+ mbs come from?
I guess you can say they come from "unpacking" the (lossless-)compressed data from the RAW file. Just like you can unzip a zip file and have the contents take up 4 times as much space as the compressed file did.
Yes, compression is involved, but it's not the only thing.
Current Canon CR2 files are 14-bit. TIFF files are 16-bit files.
Unprocessed RAW files have no sharpening. Sharpening does increase file size. To add to that unsharpened images compress more compactly than sharpened files.
But, it's all additive causes. At the end of the day, it boils down to a simple fact - they are different file structures and TIFF wasn't designed to be space considerate.
9MB sounds about right for the RAW file size. Canon does use lossless compression on their RAW format, resulting in a size that's usually around 1 byte (8 bits) per pixel, a little more for high-detail images. That's a fair amount of compression, when you realize that uncompressed RAW data is 14 bits per pixel location (remember that only one color is recorded at each location).
Now, when you process the RAW data, you wind up with *three* color channels at each pixel location. So, if you export your 10 Mpx file to uncompressed 8-bit-per-channel TIFF, you get 10Mpx * 3 channels * 1 byte/channel = 30 MB. For 16-bit-per-channel TIFF,double that (use 2 bytes per channel). Now TIFF comes in three common flavors... uncompressed, LZW compression, and ZIP compression. Both of the compressed formats are lossless. FWIW, it's also possible to write a TIFF file with (lossy) JPEG compression, though why someone would want to do so is beyond me.
So down to your 44MB TIFF file. I suspect that it is a lossless-compressed 16-bit-per-channel file that would otherwise be 60MB in size.
Actually, TIFF supports a variety of formats. 16 bit per channel RGB is one of them.
I agree that sharpening could add to the filesize, although I don't recall the OP mentioning any sharpening done on his picture.
As kirbic mentions, a lossless, 16-bit representation of the 10 Megapixels that the 1000D captures would take up 60MB, a 14-bit encoding of the same data would take up around 52 MB. So the question really isn't where the "extra" 35 MB comes from but rather where the 43 MB disappeared when compressing this in the raw file :)
Try saving the TIF file using the LZW compression option -- the size (on disk) should drop down to around the same size as the RAW file. LZW is lossless compression (essentially the same as ZIP) which can be incorporated right into the TIF file, but not all other programs (e.g. page-layout programs) are/have been able to read it, and you may also lose the thumbnail/preview version.
I think you've just answered my unasked question, General.
Conversion from RAW to TIFF used to take a minute or two. Now it can take up to 10 minutes. The difference was switching from TransferNX to TranserNX2. The default settings must be uncompressed now.
Doesnt TIF also have an alpha channel associated with it? I think that might add to it as well.
You can save alpha channels (selections) with TIFF files, but they are not there to start with. In Photoshop, when you save a PSD file as a TIFF you should have the option to retain or discard the alpha channels.
Doesnt TIF also have an alpha channel associated with it? I think that might add to it as well.
You can save alpha channels (selections) with TIFF files, but they are not there to start with. In Photoshop, when you save a PSD file as a TIFF you should have the option to retain or discard the alpha channels.
To add, TIFF files even support multiple image data layers. TIFF files also support multiple pages, making them useful for things such as engineering drawings.
To add, TIFF files even support multiple image data layers. TIFF files also support multiple pages, making them useful for things such as engineering drawings.
The only time i have ever seen tiff as engineering drawing is when they are scanned from hardcopies and rarely are they multipage. Most engineering software today will print directly to pdf, and from my experience is the deliverable of choice.
The only time i have ever seen tiff as engineering drawing is when they are scanned from hardcopies and rarely are they multipage. Most engineering software today will print directly to pdf, and from my experience is the deliverable of choice.
Someone forgot to tell my Design Engineering Dept... they have thousands of 'em. And yes it is a less efficient way to store them. You are correct that the most common reason is the scan-from-hard-copy scenario, and where an actual signature is required, that still happens. Why we require actual (unreadable, mostly) signatures is beyond me.
Doesnt TIF also have an alpha channel associated with it? I think that might add to it as well.
You can save alpha channels (selections) with TIFF files, but they are not there to start with. In Photoshop, when you save a PSD file as a TIFF you should have the option to retain or discard the alpha channels.
To add, TIFF files even support multiple image data layers. TIFF files also support multiple pages, making them useful for things such as engineering drawings.
I've never figured out who to create additional pages -- how does that happen?
thread old, but I\'ve met the similar issue to compress image. And now solved. When it comes to TIFF, two main image compression options are available–they’re known as LZW or ZIP. Both ZIP and LZW are lossless compression methods.