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;








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.



















  • 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

















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.



















  • 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













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 Jun 6 at 18:00









xiota

14.4k42274




14.4k42274






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 Jun 6 at 17:13









ElieElie

185




185




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.














  • 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











  • 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










4 Answers
4






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

























  • 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



















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



    Initial dialog



    Now select save. This will not save but open up another dialog box.



    Second dialog



    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:



    8 bit jpeg compression



    Now cancel. You don't want to accidentally save it, just examine it's attributes.






    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 (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:



      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

























      • 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











      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

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      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

























      • 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
















      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

























      • 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














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


















      • 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














      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 Jun 6 at 19:43

























          answered Jun 6 at 19:34









          scottbbscottbb

          21.5k75898




          21.5k75898





















              1














              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.



              Initial dialog



              Now select save. This will not save but open up another dialog box.



              Second dialog



              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:



              8 bit jpeg compression



              Now cancel. You don't want to accidentally save it, just examine it's attributes.






              share|improve this answer



























                1














                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.



                Initial dialog



                Now select save. This will not save but open up another dialog box.



                Second dialog



                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:



                8 bit jpeg compression



                Now cancel. You don't want to accidentally save it, just examine it's attributes.






                share|improve this answer

























                  1












                  1








                  1







                  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.



                  Initial dialog



                  Now select save. This will not save but open up another dialog box.



                  Second dialog



                  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:



                  8 bit jpeg compression



                  Now cancel. You don't want to accidentally save it, just examine it's attributes.






                  share|improve this answer













                  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.



                  Initial dialog



                  Now select save. This will not save but open up another dialog box.



                  Second dialog



                  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:



                  8 bit jpeg compression



                  Now cancel. You don't want to accidentally save it, just examine it's attributes.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jun 7 at 17:36









                  dougdoug

                  85239




                  85239





















                      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 (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:



                      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

























                      • 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















                      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 (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:



                      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

























                      • 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













                      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 (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:



                      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 (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:



                      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








                      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

















                      • 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










                      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

                      Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form