How do you identify file type/compression in a TIFF file?Does the Canon *.CR2/CRW format contain “truly RAW” data?How to import metadata from extermal .xmp sidecar file when importing .jpg files into Lightroom?Online Storage OptionsHow much post processing advantage is gained when scanning 35mm negatives as TIFF rather than JPG?What is the real world impact of the lossy compression used for NEF RAW files in some Nikon cameras?Is there a lossy compressed file format for 16-bit dynamic range images?What's the Purpose of the TIFF image stored inside Canon CR2 Raw file?How and why does VueScan's TIFF and DNG output differ?How can I simulate JPEG quality degradation?How to convert uncompressed FujiFilm raw to compressed raf?
Approach sick days in feedback meeting
Am I being scammed by a sugar daddy?
Opposite of "Concerto Grosso"?
Why does this Apple //e drops into system monitor when booting?
Can a 40amp breaker be used safely and without issue with a 40amp device on 6AWG wire?
Any gotchas in buying second-hand sanitary ware?
New Site Design!
What do you call the action of "describing events as they happen" like sports anchors do?
Is there a term for someone whose preferred policies are a mix of Left and Right?
A flower's head or heart?
Is all-caps blackletter no longer taboo?
Why are backslashes included in this shell script?
Fastest way from 10 to 1 with everyone in between
Should I worry about having my credit pulled multiple times while car shopping?
Why is gun control associated with the socially liberal Democratic party?
Why is it bad to use your whole foot in rock climbing
How to search for Android apps without ads?
How effective would a full set of plate armor be against wild animals found in temperate regions (bears, snakes, wolves)?
Must a CPU have a GPU if the motherboard provides a display port (when there isn't any separate video card)?
Can Dive Down protect a creature against Pacifism?
Are athletes' college degrees discounted by employers and graduate school admissions?
Parallelized for loop in Bash
Loop counter not interpreted as number
Is it possible to have battery technology that can't be duplicated?
How do you identify file type/compression in a TIFF file?
Does the Canon *.CR2/CRW format contain “truly RAW” data?How to import metadata from extermal .xmp sidecar file when importing .jpg files into Lightroom?Online Storage OptionsHow much post processing advantage is gained when scanning 35mm negatives as TIFF rather than JPG?What is the real world impact of the lossy compression used for NEF RAW files in some Nikon cameras?Is there a lossy compressed file format for 16-bit dynamic range images?What's the Purpose of the TIFF image stored inside Canon CR2 Raw file?How and why does VueScan's TIFF and DNG output differ?How can I simulate JPEG quality degradation?How to convert uncompressed FujiFilm raw to compressed raf?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
From what I understand TIFF is like the .mkv container for photography - it supports a variety of compressed and uncompressed formats.
But how would you go about checking if the data within the TIFF file is indeed uncompressed? I'm worried it could just contain a lossy photo.
raw troubleshooting image-quality jpeg tiff
New contributor
add a comment |
From what I understand TIFF is like the .mkv container for photography - it supports a variety of compressed and uncompressed formats.
But how would you go about checking if the data within the TIFF file is indeed uncompressed? I'm worried it could just contain a lossy photo.
raw troubleshooting image-quality jpeg tiff
New contributor
Even if the tiff you have is currently uncompressed that doesn't mean the data was never compressed :(
– Peter Green
Jun 7 at 1:33
Yes - was about to ask this. Is there any way to tell the underlying compression?
– Elie
Jun 7 at 13:58
add a comment |
From what I understand TIFF is like the .mkv container for photography - it supports a variety of compressed and uncompressed formats.
But how would you go about checking if the data within the TIFF file is indeed uncompressed? I'm worried it could just contain a lossy photo.
raw troubleshooting image-quality jpeg tiff
New contributor
From what I understand TIFF is like the .mkv container for photography - it supports a variety of compressed and uncompressed formats.
But how would you go about checking if the data within the TIFF file is indeed uncompressed? I'm worried it could just contain a lossy photo.
raw troubleshooting image-quality jpeg tiff
raw troubleshooting image-quality jpeg tiff
New contributor
New contributor
edited Jun 6 at 18:00
xiota
14.4k42274
14.4k42274
New contributor
asked Jun 6 at 17:13
ElieElie
185
185
New contributor
New contributor
Even if the tiff you have is currently uncompressed that doesn't mean the data was never compressed :(
– Peter Green
Jun 7 at 1:33
Yes - was about to ask this. Is there any way to tell the underlying compression?
– Elie
Jun 7 at 13:58
add a comment |
Even if the tiff you have is currently uncompressed that doesn't mean the data was never compressed :(
– Peter Green
Jun 7 at 1:33
Yes - was about to ask this. Is there any way to tell the underlying compression?
– Elie
Jun 7 at 13:58
Even if the tiff you have is currently uncompressed that doesn't mean the data was never compressed :(
– Peter Green
Jun 7 at 1:33
Even if the tiff you have is currently uncompressed that doesn't mean the data was never compressed :(
– Peter Green
Jun 7 at 1:33
Yes - was about to ask this. Is there any way to tell the underlying compression?
– Elie
Jun 7 at 13:58
Yes - was about to ask this. Is there any way to tell the underlying compression?
– Elie
Jun 7 at 13:58
add a comment |
4 Answers
4
active
oldest
votes
TIFF is a container format. Some other formats, such as DNG, are based on TIFF containers.
You can use exiftool
to determine whether a TIF file contains compressed data.
usr@hst:/tmp$ exiftool -compression test1.tif
Compression : Uncompressed
usr@hst:/tmp$ exiftool -compression test2.tif
Compression : JPEG
Is this used to tell the current compression of the .tif file, or the compression of the data in the .tif file?
– Elie
Jun 7 at 13:59
TIFFs are containers. Unless you put them into another container (zip), they themselves are not compressed. It's the (image) data contained within them that is compressed. Colloquially, when people say a file type is compressed (jpg), they mean the data within the file is compressed.
– xiota
Jun 7 at 14:16
add a comment |
If you are using a Linux or Unix-like system (including MacOS), you can use the file
command that comes built-in to most Linux/Unix distributions. In a terminal:
scottbb@mbp ~/Downloads $ file CCITT_1.TIF
CCITT_1.TIF: TIFF image data, little-endian, direntries=17, height=2376, bps=1,
compression=bi-level group 4, PhotometricIntepretation=WhiteIsZero,
name=Standard Input, description=converted PBM file, orientation=upper-left, width=1728
The file
command is a Swiss Army knife utility that will tell you all sorts of information about almost any file you throw at it.
add a comment |
If you have Photoshop it is easy to identify the type of file compression if any. Only JPEG compression, which is only available on 8 bit tif files, results in any image deterioration.
Open the tif file in Photoshop then select save as (though you won't actually be saving it). You will see this dialog.
Now select save. This will not save but open up another dialog box.
All the settings shown are what the original tif image is stored as. You can change them here but the purpose is to determine the format of the original image.
The only thing of concern is if the image is in jpeg. This also means the image is 8 bits. Any other compression is not lossy and no image degradation can occur.
This is what will show for jpeg compressed tif files:
Now cancel. You don't want to accidentally save it, just examine it's attributes.
add a comment |
But how would you go about checking if the TIFF file is indeed uncompressed?
A quick test.
Open your photo, and re-save it as TIF with another name, with no compression. Compare the file weight.
The file size of an uncompressed image will be about the same.
I'm worried it could just be a lossless container for a lossy photo.
It is a very specific case. It is not about compression, as your first inquiry, it is about lossy compression.
Make some additional tests with different compression methods. LZW or ZIP (both lossless)
If the file size is a lot smaller than those, it was probably saved using JPG compression, therefore lossy.
But the one and only exact test you can make is taking the original photo, overlay it using "difference" as blending mode, flatten it, and see the histogram. https://otake.com.mx/Apuntes/Imagen/PruebasDeCompresion/1-CompresionJpgProceso.phtm
But take into account that there is a big chance, the original photo was saved as JPG from start.
And yes, TIF format is very specific. I would not recommend it for normal photographers. I only would recommend it for specific cases:
When you need a 16 bits per channel image and you can not send a PSD file.
When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.
Some weird file, like a multi-channel file, CMYK and transparency, etc... and you can not send a PSD file.
And that is probably it.
Both Zip and LZW compression is lossless and these are the most common compressions used in tiff files. Photoshop only offers these lossless compression types in saving tiff files. Those tiff file apps that offer jpeg compression are lossy.
– doug
Jun 7 at 5:21
@xiota, Jpeg compression can be used in Photoshop tiffs but only on 8 bit files but also brings up a compatibility warning re older Photoshops. It's grayed out on higher bit files. If you open a tiff file then hit "save as" it will show the same compression settings of the original file so that's one way to tell if a tiff file is using lossy compression. Almost all my work in tiff files is 16 bit and I don't think I've ever seen an 8 bit tiff file encoded in jpeg. Apparently it is now supported but wasn't in older Photoshops so I had it backwards.
– doug
Jun 7 at 14:36
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "61"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Elie is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphoto.stackexchange.com%2fquestions%2f108758%2fhow-do-you-identify-file-type-compression-in-a-tiff-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
TIFF is a container format. Some other formats, such as DNG, are based on TIFF containers.
You can use exiftool
to determine whether a TIF file contains compressed data.
usr@hst:/tmp$ exiftool -compression test1.tif
Compression : Uncompressed
usr@hst:/tmp$ exiftool -compression test2.tif
Compression : JPEG
Is this used to tell the current compression of the .tif file, or the compression of the data in the .tif file?
– Elie
Jun 7 at 13:59
TIFFs are containers. Unless you put them into another container (zip), they themselves are not compressed. It's the (image) data contained within them that is compressed. Colloquially, when people say a file type is compressed (jpg), they mean the data within the file is compressed.
– xiota
Jun 7 at 14:16
add a comment |
TIFF is a container format. Some other formats, such as DNG, are based on TIFF containers.
You can use exiftool
to determine whether a TIF file contains compressed data.
usr@hst:/tmp$ exiftool -compression test1.tif
Compression : Uncompressed
usr@hst:/tmp$ exiftool -compression test2.tif
Compression : JPEG
Is this used to tell the current compression of the .tif file, or the compression of the data in the .tif file?
– Elie
Jun 7 at 13:59
TIFFs are containers. Unless you put them into another container (zip), they themselves are not compressed. It's the (image) data contained within them that is compressed. Colloquially, when people say a file type is compressed (jpg), they mean the data within the file is compressed.
– xiota
Jun 7 at 14:16
add a comment |
TIFF is a container format. Some other formats, such as DNG, are based on TIFF containers.
You can use exiftool
to determine whether a TIF file contains compressed data.
usr@hst:/tmp$ exiftool -compression test1.tif
Compression : Uncompressed
usr@hst:/tmp$ exiftool -compression test2.tif
Compression : JPEG
TIFF is a container format. Some other formats, such as DNG, are based on TIFF containers.
You can use exiftool
to determine whether a TIF file contains compressed data.
usr@hst:/tmp$ exiftool -compression test1.tif
Compression : Uncompressed
usr@hst:/tmp$ exiftool -compression test2.tif
Compression : JPEG
edited Jun 6 at 20:28
answered Jun 6 at 17:48
xiotaxiota
14.4k42274
14.4k42274
Is this used to tell the current compression of the .tif file, or the compression of the data in the .tif file?
– Elie
Jun 7 at 13:59
TIFFs are containers. Unless you put them into another container (zip), they themselves are not compressed. It's the (image) data contained within them that is compressed. Colloquially, when people say a file type is compressed (jpg), they mean the data within the file is compressed.
– xiota
Jun 7 at 14:16
add a comment |
Is this used to tell the current compression of the .tif file, or the compression of the data in the .tif file?
– Elie
Jun 7 at 13:59
TIFFs are containers. Unless you put them into another container (zip), they themselves are not compressed. It's the (image) data contained within them that is compressed. Colloquially, when people say a file type is compressed (jpg), they mean the data within the file is compressed.
– xiota
Jun 7 at 14:16
Is this used to tell the current compression of the .tif file, or the compression of the data in the .tif file?
– Elie
Jun 7 at 13:59
Is this used to tell the current compression of the .tif file, or the compression of the data in the .tif file?
– Elie
Jun 7 at 13:59
TIFFs are containers. Unless you put them into another container (zip), they themselves are not compressed. It's the (image) data contained within them that is compressed. Colloquially, when people say a file type is compressed (jpg), they mean the data within the file is compressed.
– xiota
Jun 7 at 14:16
TIFFs are containers. Unless you put them into another container (zip), they themselves are not compressed. It's the (image) data contained within them that is compressed. Colloquially, when people say a file type is compressed (jpg), they mean the data within the file is compressed.
– xiota
Jun 7 at 14:16
add a comment |
If you are using a Linux or Unix-like system (including MacOS), you can use the file
command that comes built-in to most Linux/Unix distributions. In a terminal:
scottbb@mbp ~/Downloads $ file CCITT_1.TIF
CCITT_1.TIF: TIFF image data, little-endian, direntries=17, height=2376, bps=1,
compression=bi-level group 4, PhotometricIntepretation=WhiteIsZero,
name=Standard Input, description=converted PBM file, orientation=upper-left, width=1728
The file
command is a Swiss Army knife utility that will tell you all sorts of information about almost any file you throw at it.
add a comment |
If you are using a Linux or Unix-like system (including MacOS), you can use the file
command that comes built-in to most Linux/Unix distributions. In a terminal:
scottbb@mbp ~/Downloads $ file CCITT_1.TIF
CCITT_1.TIF: TIFF image data, little-endian, direntries=17, height=2376, bps=1,
compression=bi-level group 4, PhotometricIntepretation=WhiteIsZero,
name=Standard Input, description=converted PBM file, orientation=upper-left, width=1728
The file
command is a Swiss Army knife utility that will tell you all sorts of information about almost any file you throw at it.
add a comment |
If you are using a Linux or Unix-like system (including MacOS), you can use the file
command that comes built-in to most Linux/Unix distributions. In a terminal:
scottbb@mbp ~/Downloads $ file CCITT_1.TIF
CCITT_1.TIF: TIFF image data, little-endian, direntries=17, height=2376, bps=1,
compression=bi-level group 4, PhotometricIntepretation=WhiteIsZero,
name=Standard Input, description=converted PBM file, orientation=upper-left, width=1728
The file
command is a Swiss Army knife utility that will tell you all sorts of information about almost any file you throw at it.
If you are using a Linux or Unix-like system (including MacOS), you can use the file
command that comes built-in to most Linux/Unix distributions. In a terminal:
scottbb@mbp ~/Downloads $ file CCITT_1.TIF
CCITT_1.TIF: TIFF image data, little-endian, direntries=17, height=2376, bps=1,
compression=bi-level group 4, PhotometricIntepretation=WhiteIsZero,
name=Standard Input, description=converted PBM file, orientation=upper-left, width=1728
The file
command is a Swiss Army knife utility that will tell you all sorts of information about almost any file you throw at it.
edited Jun 6 at 19:43
answered Jun 6 at 19:34
scottbbscottbb
21.5k75898
21.5k75898
add a comment |
add a comment |
If you have Photoshop it is easy to identify the type of file compression if any. Only JPEG compression, which is only available on 8 bit tif files, results in any image deterioration.
Open the tif file in Photoshop then select save as (though you won't actually be saving it). You will see this dialog.
Now select save. This will not save but open up another dialog box.
All the settings shown are what the original tif image is stored as. You can change them here but the purpose is to determine the format of the original image.
The only thing of concern is if the image is in jpeg. This also means the image is 8 bits. Any other compression is not lossy and no image degradation can occur.
This is what will show for jpeg compressed tif files:
Now cancel. You don't want to accidentally save it, just examine it's attributes.
add a comment |
If you have Photoshop it is easy to identify the type of file compression if any. Only JPEG compression, which is only available on 8 bit tif files, results in any image deterioration.
Open the tif file in Photoshop then select save as (though you won't actually be saving it). You will see this dialog.
Now select save. This will not save but open up another dialog box.
All the settings shown are what the original tif image is stored as. You can change them here but the purpose is to determine the format of the original image.
The only thing of concern is if the image is in jpeg. This also means the image is 8 bits. Any other compression is not lossy and no image degradation can occur.
This is what will show for jpeg compressed tif files:
Now cancel. You don't want to accidentally save it, just examine it's attributes.
add a comment |
If you have Photoshop it is easy to identify the type of file compression if any. Only JPEG compression, which is only available on 8 bit tif files, results in any image deterioration.
Open the tif file in Photoshop then select save as (though you won't actually be saving it). You will see this dialog.
Now select save. This will not save but open up another dialog box.
All the settings shown are what the original tif image is stored as. You can change them here but the purpose is to determine the format of the original image.
The only thing of concern is if the image is in jpeg. This also means the image is 8 bits. Any other compression is not lossy and no image degradation can occur.
This is what will show for jpeg compressed tif files:
Now cancel. You don't want to accidentally save it, just examine it's attributes.
If you have Photoshop it is easy to identify the type of file compression if any. Only JPEG compression, which is only available on 8 bit tif files, results in any image deterioration.
Open the tif file in Photoshop then select save as (though you won't actually be saving it). You will see this dialog.
Now select save. This will not save but open up another dialog box.
All the settings shown are what the original tif image is stored as. You can change them here but the purpose is to determine the format of the original image.
The only thing of concern is if the image is in jpeg. This also means the image is 8 bits. Any other compression is not lossy and no image degradation can occur.
This is what will show for jpeg compressed tif files:
Now cancel. You don't want to accidentally save it, just examine it's attributes.
answered Jun 7 at 17:36
dougdoug
85239
85239
add a comment |
add a comment |
But how would you go about checking if the TIFF file is indeed uncompressed?
A quick test.
Open your photo, and re-save it as TIF with another name, with no compression. Compare the file weight.
The file size of an uncompressed image will be about the same.
I'm worried it could just be a lossless container for a lossy photo.
It is a very specific case. It is not about compression, as your first inquiry, it is about lossy compression.
Make some additional tests with different compression methods. LZW or ZIP (both lossless)
If the file size is a lot smaller than those, it was probably saved using JPG compression, therefore lossy.
But the one and only exact test you can make is taking the original photo, overlay it using "difference" as blending mode, flatten it, and see the histogram. https://otake.com.mx/Apuntes/Imagen/PruebasDeCompresion/1-CompresionJpgProceso.phtm
But take into account that there is a big chance, the original photo was saved as JPG from start.
And yes, TIF format is very specific. I would not recommend it for normal photographers. I only would recommend it for specific cases:
When you need a 16 bits per channel image and you can not send a PSD file.
When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.
Some weird file, like a multi-channel file, CMYK and transparency, etc... and you can not send a PSD file.
And that is probably it.
Both Zip and LZW compression is lossless and these are the most common compressions used in tiff files. Photoshop only offers these lossless compression types in saving tiff files. Those tiff file apps that offer jpeg compression are lossy.
– doug
Jun 7 at 5:21
@xiota, Jpeg compression can be used in Photoshop tiffs but only on 8 bit files but also brings up a compatibility warning re older Photoshops. It's grayed out on higher bit files. If you open a tiff file then hit "save as" it will show the same compression settings of the original file so that's one way to tell if a tiff file is using lossy compression. Almost all my work in tiff files is 16 bit and I don't think I've ever seen an 8 bit tiff file encoded in jpeg. Apparently it is now supported but wasn't in older Photoshops so I had it backwards.
– doug
Jun 7 at 14:36
add a comment |
But how would you go about checking if the TIFF file is indeed uncompressed?
A quick test.
Open your photo, and re-save it as TIF with another name, with no compression. Compare the file weight.
The file size of an uncompressed image will be about the same.
I'm worried it could just be a lossless container for a lossy photo.
It is a very specific case. It is not about compression, as your first inquiry, it is about lossy compression.
Make some additional tests with different compression methods. LZW or ZIP (both lossless)
If the file size is a lot smaller than those, it was probably saved using JPG compression, therefore lossy.
But the one and only exact test you can make is taking the original photo, overlay it using "difference" as blending mode, flatten it, and see the histogram. https://otake.com.mx/Apuntes/Imagen/PruebasDeCompresion/1-CompresionJpgProceso.phtm
But take into account that there is a big chance, the original photo was saved as JPG from start.
And yes, TIF format is very specific. I would not recommend it for normal photographers. I only would recommend it for specific cases:
When you need a 16 bits per channel image and you can not send a PSD file.
When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.
Some weird file, like a multi-channel file, CMYK and transparency, etc... and you can not send a PSD file.
And that is probably it.
Both Zip and LZW compression is lossless and these are the most common compressions used in tiff files. Photoshop only offers these lossless compression types in saving tiff files. Those tiff file apps that offer jpeg compression are lossy.
– doug
Jun 7 at 5:21
@xiota, Jpeg compression can be used in Photoshop tiffs but only on 8 bit files but also brings up a compatibility warning re older Photoshops. It's grayed out on higher bit files. If you open a tiff file then hit "save as" it will show the same compression settings of the original file so that's one way to tell if a tiff file is using lossy compression. Almost all my work in tiff files is 16 bit and I don't think I've ever seen an 8 bit tiff file encoded in jpeg. Apparently it is now supported but wasn't in older Photoshops so I had it backwards.
– doug
Jun 7 at 14:36
add a comment |
But how would you go about checking if the TIFF file is indeed uncompressed?
A quick test.
Open your photo, and re-save it as TIF with another name, with no compression. Compare the file weight.
The file size of an uncompressed image will be about the same.
I'm worried it could just be a lossless container for a lossy photo.
It is a very specific case. It is not about compression, as your first inquiry, it is about lossy compression.
Make some additional tests with different compression methods. LZW or ZIP (both lossless)
If the file size is a lot smaller than those, it was probably saved using JPG compression, therefore lossy.
But the one and only exact test you can make is taking the original photo, overlay it using "difference" as blending mode, flatten it, and see the histogram. https://otake.com.mx/Apuntes/Imagen/PruebasDeCompresion/1-CompresionJpgProceso.phtm
But take into account that there is a big chance, the original photo was saved as JPG from start.
And yes, TIF format is very specific. I would not recommend it for normal photographers. I only would recommend it for specific cases:
When you need a 16 bits per channel image and you can not send a PSD file.
When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.
Some weird file, like a multi-channel file, CMYK and transparency, etc... and you can not send a PSD file.
And that is probably it.
But how would you go about checking if the TIFF file is indeed uncompressed?
A quick test.
Open your photo, and re-save it as TIF with another name, with no compression. Compare the file weight.
The file size of an uncompressed image will be about the same.
I'm worried it could just be a lossless container for a lossy photo.
It is a very specific case. It is not about compression, as your first inquiry, it is about lossy compression.
Make some additional tests with different compression methods. LZW or ZIP (both lossless)
If the file size is a lot smaller than those, it was probably saved using JPG compression, therefore lossy.
But the one and only exact test you can make is taking the original photo, overlay it using "difference" as blending mode, flatten it, and see the histogram. https://otake.com.mx/Apuntes/Imagen/PruebasDeCompresion/1-CompresionJpgProceso.phtm
But take into account that there is a big chance, the original photo was saved as JPG from start.
And yes, TIF format is very specific. I would not recommend it for normal photographers. I only would recommend it for specific cases:
When you need a 16 bits per channel image and you can not send a PSD file.
When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.
Some weird file, like a multi-channel file, CMYK and transparency, etc... and you can not send a PSD file.
And that is probably it.
edited Jun 7 at 16:28
answered Jun 6 at 17:34
RafaelRafael
15.1k12448
15.1k12448
Both Zip and LZW compression is lossless and these are the most common compressions used in tiff files. Photoshop only offers these lossless compression types in saving tiff files. Those tiff file apps that offer jpeg compression are lossy.
– doug
Jun 7 at 5:21
@xiota, Jpeg compression can be used in Photoshop tiffs but only on 8 bit files but also brings up a compatibility warning re older Photoshops. It's grayed out on higher bit files. If you open a tiff file then hit "save as" it will show the same compression settings of the original file so that's one way to tell if a tiff file is using lossy compression. Almost all my work in tiff files is 16 bit and I don't think I've ever seen an 8 bit tiff file encoded in jpeg. Apparently it is now supported but wasn't in older Photoshops so I had it backwards.
– doug
Jun 7 at 14:36
add a comment |
Both Zip and LZW compression is lossless and these are the most common compressions used in tiff files. Photoshop only offers these lossless compression types in saving tiff files. Those tiff file apps that offer jpeg compression are lossy.
– doug
Jun 7 at 5:21
@xiota, Jpeg compression can be used in Photoshop tiffs but only on 8 bit files but also brings up a compatibility warning re older Photoshops. It's grayed out on higher bit files. If you open a tiff file then hit "save as" it will show the same compression settings of the original file so that's one way to tell if a tiff file is using lossy compression. Almost all my work in tiff files is 16 bit and I don't think I've ever seen an 8 bit tiff file encoded in jpeg. Apparently it is now supported but wasn't in older Photoshops so I had it backwards.
– doug
Jun 7 at 14:36
Both Zip and LZW compression is lossless and these are the most common compressions used in tiff files. Photoshop only offers these lossless compression types in saving tiff files. Those tiff file apps that offer jpeg compression are lossy.
– doug
Jun 7 at 5:21
Both Zip and LZW compression is lossless and these are the most common compressions used in tiff files. Photoshop only offers these lossless compression types in saving tiff files. Those tiff file apps that offer jpeg compression are lossy.
– doug
Jun 7 at 5:21
@xiota, Jpeg compression can be used in Photoshop tiffs but only on 8 bit files but also brings up a compatibility warning re older Photoshops. It's grayed out on higher bit files. If you open a tiff file then hit "save as" it will show the same compression settings of the original file so that's one way to tell if a tiff file is using lossy compression. Almost all my work in tiff files is 16 bit and I don't think I've ever seen an 8 bit tiff file encoded in jpeg. Apparently it is now supported but wasn't in older Photoshops so I had it backwards.
– doug
Jun 7 at 14:36
@xiota, Jpeg compression can be used in Photoshop tiffs but only on 8 bit files but also brings up a compatibility warning re older Photoshops. It's grayed out on higher bit files. If you open a tiff file then hit "save as" it will show the same compression settings of the original file so that's one way to tell if a tiff file is using lossy compression. Almost all my work in tiff files is 16 bit and I don't think I've ever seen an 8 bit tiff file encoded in jpeg. Apparently it is now supported but wasn't in older Photoshops so I had it backwards.
– doug
Jun 7 at 14:36
add a comment |
Elie is a new contributor. Be nice, and check out our Code of Conduct.
Elie is a new contributor. Be nice, and check out our Code of Conduct.
Elie is a new contributor. Be nice, and check out our Code of Conduct.
Elie is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Photography Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphoto.stackexchange.com%2fquestions%2f108758%2fhow-do-you-identify-file-type-compression-in-a-tiff-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Even if the tiff you have is currently uncompressed that doesn't mean the data was never compressed :(
– Peter Green
Jun 7 at 1:33
Yes - was about to ask this. Is there any way to tell the underlying compression?
– Elie
Jun 7 at 13:58