RAW vs TIFF

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
If RAW is an uncompressed file, why is TIFF so much larger…?
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
How can a RAW file not have any color info…?
 

Attachments

  • IMG_5025.jpeg
    417.5 KB · Views: 51

Kino

Subscriber
Joined
Jan 20, 2006
Messages
7,757
Location
Orange, Virginia
Format
Multi Format
Raw files have metadata that describe the color information attached to each pixel while TIFF files have that data baked into the pixel information in all channels.
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
Raw files have metadata that describe the color information attached to each pixel while TIFF files have that data baked into the pixel information in all channels.

Wow, now that makes sense…!
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
I got lucky with this one…!
 

Attachments

  • IMG_5027.jpeg
    801.7 KB · Views: 57

Don_ih

Member
Joined
Jan 24, 2021
Messages
7,716
Location
Ontario
Format
35mm RF
"Raw" is uncooked. "Tuff" is overcooked. It's also a typo.
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format

wiltw

Subscriber
Joined
Oct 4, 2008
Messages
6,439
Location
SF Bay area
Format
Multi Format
A 16-bit RAW file stores each sensel with about 15 bits of actual color intensity for a single color...a sensel is sensitive to Red or Green or Blue.
A 16-bit TIFF file has had RAW sensels converted to R-G-B pixel value, and each color has 15 bits (or 16)...three times as much information for one pixel.
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format

Very well done …!
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
From Blue Moon Camera…!
 

Attachments

  • IMG_5028.jpeg
    646.7 KB · Views: 38
Last edited:

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,715
Location
Europe
Format
Multi Format
If RAW is an uncompressed file, why is TIFF so much larger…?

Don't confuse:
Encoding: RAW vs. several bitmap formats
Compression: compressed vs. uncompressed
Fidelity: lossless vs. lossy
Color resolution: bit depth, typically 8 or 16 bit per pixel

Several combinations occur in practice. A RAW file can be uncompressed lossless, compressed lossless or compressed lossy, nominally 16 bit but limited to what the camera sensor actually puts out (typically 12-13 bit). A TIFF file can be uncompressed or compressed lossless (ZIP usually), 8 or 16 bit. JPG is a compressed lossy format. JPG's more modern alternative, PNG, allows 8 or 16 bit and lossless compression.

There's of course a whole slew of additional formats for encoding image data.

Many cameras store RAW with compression and sometimes offer this as an option to the user; Leica falls in that category (not sure which models, you could find that out by referring to the manual). RAW compression will typically be lossless. I don't know whether Leicas have RAW compression turned on or off by default.

Which is bigger thus depends on a whole slew of factors. Having said that, TIFF is usually exchanged in uncompressed format, which means that a single-layer 16-bit TIFF will have nominally 2 bytes * 3 colors = 6 bytes per pixel plus a bit of metadata overhead (negligible). Thus, a 24 megapixel RGB TIFF will be 6 * 24 = 144Mbytes. Due to its straightforward way of encoding, it has good cross-platform and backward compatibility; basically, nothing has ever changed in how uncompressed, single-layer TIFFs are encoded in the decades that the file format has been in existence. This is one of the reasons why it has remained so popular, despite its inefficiency.
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format

Owners manual states the MD 262 shoots RAW only…!
 

Attachments

  • IMG_5029.jpeg
    375.8 KB · Views: 32
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
When I look at the computer screen at the image and use the information tab, it shows the wording RAW…!
 

Attachments

  • IMG_5030.jpeg
    584 KB · Views: 29

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,715
Location
Europe
Format
Multi Format
Owners manual states the MD 262 shoots RAW only…!

I didn't state otherwise. According to documentation I can find online, the MD626 records in lossless compressed RAW format.
Again, I warn against conflating different things. RAW and compression and lossiness are three different things.
Your camera records in RAW format. At the same time, it's compressed, but without loss in image quality. This is part of the explanation why your RAW files are smaller than uncompressed TIFFs.
 

Chan Tran

Subscriber
Joined
May 10, 2006
Messages
6,810
Location
Sachse, TX
Format
35mm
The camera only captures one color chanel per pixel site. So it's either R, G or B but not all three and thus the raw file also contain one color channel per pixel. When converted to TIFF using a demosaic algorithm the software either in camera or on a computer assigned 3 color channel per pixel.
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format

We’re really cooking, I mean serving RAW…!
 

Attachments

  • IMG_5031.jpeg
    178.8 KB · Views: 24
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
What does loss-free JPEG mean…?
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
My older Mac Pro is unable to read the SD card from the Leica …!
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format
Do miss f#¥<, so simple…!
 

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,715
Location
Europe
Format
Multi Format
Does the Leica shoot in a RAW format then converts the image to loss-free JPEG…?

RAW implies raw sensor data (for all intents and purposes). When saving to JPEG, your camera will compress and format the data according to that standard. When saving as RAW, it'll do the same, but for the proprietary Leica DNG standard for files containing raw image data. I suspect the compression is the both in same cases, which helps simplify the camera firmware since the image processing chain can be virtually the same for both file types.

Do miss f#¥<, so simple…!

Well, we've been over that a few times; film also has its quirks.
 
OP
OP

Nikon 2

Member
Joined
Feb 19, 2023
Messages
1,549
Location
Moyers, Oklahoma
Format
Multi Format

You can say film in this discussion…?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…