Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Old style JPEG compression Tiff file problem

Old style JPEG compression Tiff file problem

Scheduled Pinned Locked Moved C / C++ / MFC
help
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hadi Dayvary
    wrote on last edited by
    #1

    Hi I have a tiff viewer that uses tiff library to show tiff files. Program works fine, but I have problem to show the first frame of this file: http://www.LogicSims.ir/download/Sample1.tiff[^] I tested CxImage, it has same problem. Problem is : this file have uses an Old style JPEG compression, but there must be a way to show it. If you know a library or a way to show this file please tell me. Regards

    www.logicsims.ir

    C 1 Reply Last reply
    0
    • H Hadi Dayvary

      Hi I have a tiff viewer that uses tiff library to show tiff files. Program works fine, but I have problem to show the first frame of this file: http://www.LogicSims.ir/download/Sample1.tiff[^] I tested CxImage, it has same problem. Problem is : this file have uses an Old style JPEG compression, but there must be a way to show it. If you know a library or a way to show this file please tell me. Regards

      www.logicsims.ir

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      Hadi Dayvary wrote:

      there must be a way to show it

      sadly, there is no "must" about this. the reason the "old-style" JPEG-in-TIFF is "old" is that the original JPEG-in-TIFF specification was ambiguous about certain key aspects of the sub-format and so everyone interpreted the spec differently, leading to an uncountable number of mutually-incompatible variations. the new JPG-in-TIFF spec fixes the problem. the latest version of LibTiff tries very hard to deal with as many of these variations as it can, but it still doesn't have them all. if the current LibTiff doesn't handle it, you can try finding out who wrote the software that created the file and see if they have a reader available.

      image processing toolkits | batch image processing

      H 1 Reply Last reply
      0
      • C Chris Losinger

        Hadi Dayvary wrote:

        there must be a way to show it

        sadly, there is no "must" about this. the reason the "old-style" JPEG-in-TIFF is "old" is that the original JPEG-in-TIFF specification was ambiguous about certain key aspects of the sub-format and so everyone interpreted the spec differently, leading to an uncountable number of mutually-incompatible variations. the new JPG-in-TIFF spec fixes the problem. the latest version of LibTiff tries very hard to deal with as many of these variations as it can, but it still doesn't have them all. if the current LibTiff doesn't handle it, you can try finding out who wrote the software that created the file and see if they have a reader available.

        image processing toolkits | batch image processing

        H Offline
        H Offline
        Hadi Dayvary
        wrote on last edited by
        #3

        Thanks a lot for your your reply. The problem is that they need to see those kind of images (thousond documents) in this application, so I must find a library that support this old style. Do you know a library that can help me? Does your imgsource support this old style? Regards

        www.logicsims.ir

        C 1 Reply Last reply
        0
        • H Hadi Dayvary

          Thanks a lot for your your reply. The problem is that they need to see those kind of images (thousond documents) in this application, so I must find a library that support this old style. Do you know a library that can help me? Does your imgsource support this old style? Regards

          www.logicsims.ir

          C Offline
          C Offline
          Chris Losinger
          wrote on last edited by
          #4

          Hadi Dayvary wrote:

          Does your imgsource support this old style?

          ImgSource uses LibTiff. i think LibTiff is going to be your best bet. there is nothing that will support all of the variations, but the LibTiff people have been good about adding support as they figure out how each variation works.

          image processing toolkits | batch image processing

          H 1 Reply Last reply
          0
          • C Chris Losinger

            Hadi Dayvary wrote:

            Does your imgsource support this old style?

            ImgSource uses LibTiff. i think LibTiff is going to be your best bet. there is nothing that will support all of the variations, but the LibTiff people have been good about adding support as they figure out how each variation works.

            image processing toolkits | batch image processing

            H Offline
            H Offline
            Hadi Dayvary
            wrote on last edited by
            #5

            Thank you.

            www.logicsims.ir

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups