Old style JPEG compression Tiff file problem
-
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
-
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
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.
-
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.
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
-
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
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.
-
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.
Thank you.