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;








3















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.










share|improve this question









New contributor



Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    3















    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.










    share|improve this question









    New contributor



    Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      3












      3








      3








      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.










      share|improve this question









      New contributor



      Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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






      share|improve this question









      New contributor



      Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 7 hours ago









      xiota

      13.8k42071




      13.8k42071






      New contributor



      Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      ElieElie

      184




      184




      New contributor



      Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Elie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          3 Answers
          3






          active

          oldest

          votes


















          1














          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





          share|improve this answer
































            1














            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.






            share|improve this answer
































              0















              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:



              1. When you need a 16 bits per channel image and you can not send a PSD file.


              2. When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.


              3. 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.






              share|improve this answer























                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.









                draft saved

                draft discarded


















                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









                1














                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





                share|improve this answer





























                  1














                  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





                  share|improve this answer



























                    1












                    1








                    1







                    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





                    share|improve this answer















                    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






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 4 hours ago

























                    answered 7 hours ago









                    xiotaxiota

                    13.8k42071




                    13.8k42071























                        1














                        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.






                        share|improve this answer





























                          1














                          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.






                          share|improve this answer



























                            1












                            1








                            1







                            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.






                            share|improve this answer















                            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.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited 5 hours ago

























                            answered 5 hours ago









                            scottbbscottbb

                            21.5k75898




                            21.5k75898





















                                0















                                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:



                                1. When you need a 16 bits per channel image and you can not send a PSD file.


                                2. When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.


                                3. 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.






                                share|improve this answer



























                                  0















                                  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:



                                  1. When you need a 16 bits per channel image and you can not send a PSD file.


                                  2. When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.


                                  3. 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.






                                  share|improve this answer

























                                    0












                                    0








                                    0








                                    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:



                                    1. When you need a 16 bits per channel image and you can not send a PSD file.


                                    2. When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.


                                    3. 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.






                                    share|improve this answer














                                    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:



                                    1. When you need a 16 bits per channel image and you can not send a PSD file.


                                    2. When you are saving a CMYK image, you do not want to use JPG and cannot send a PSD file.


                                    3. 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.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 7 hours ago









                                    RafaelRafael

                                    15k12448




                                    15k12448




















                                        Elie is a new contributor. Be nice, and check out our Code of Conduct.









                                        draft saved

                                        draft discarded


















                                        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.




                                        draft saved


                                        draft discarded














                                        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





















































                                        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







                                        Popular posts from this blog

                                        Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                        Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                        199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單