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?
Has there been a multiethnic Star Trek character?
Can I utilise a baking stone to make crepes?
Why does logistic function use e rather than 2?
Writing an augmented sixth chord on the flattened supertonic
Live action TV show where High school Kids go into the virtual world and have to clear levels
With Ubuntu 18.04, how can I have a hot corner that locks the computer?
What to do when surprise and a high initiative roll conflict with the narrative?
Artificer Creativity
You have (3^2 + 2^3 + 2^2) Guesses Left. Figure out the Last one
Determining fair price for profitable mobile app business
GroupBy operation using an entire dataframe to group values
Why can my keyboard only digest 6 keypresses at a time?
How can I get an unreasonable manager to approve time off?
Bb13b9 confusion
Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?
Why was this person allowed to become Grand Maester?
Getting UPS Power from One Room to Another
How do free-speech protections in the United States apply in public to corporate misrepresentations?
What aircraft was used as Air Force One for the flight between Southampton and Shannon?
How to trick the reader into thinking they're following a redshirt instead of the protagonist?
How to hide an urban landmark?
Generate basis elements of the Steenrod algebra
Why is a common reference string needed in zero knowledge proofs?
A word that means "blending into a community too much"
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
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 7 hours ago
xiota
13.8k42071
13.8k42071
New contributor
asked 8 hours ago
ElieElie
184
184
New contributor
New contributor
add a comment |
add a comment |
3 Answers
3
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
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 |
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.
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.
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
3 Answers
3
active
oldest
votes
3 Answers
3
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
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
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 4 hours ago
answered 7 hours ago
xiotaxiota
13.8k42071
13.8k42071
add a comment |
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 5 hours ago
answered 5 hours ago
scottbbscottbb
21.5k75898
21.5k75898
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.
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.
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.
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.
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.
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.
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.
answered 7 hours ago
RafaelRafael
15k12448
15k12448
add a comment |
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