LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unsupported tif format (https://www.linuxquestions.org/questions/linux-software-2/unsupported-tif-format-530123/)

arubin 02-18-2007 07:11 AM

Unsupported tif format
 
Someone sent me some scanned in documents with three pages in the one tif file and I had a great deal of difficulty viewing them in Linux.

I tried Gimp 2.2.13 which gave an unknown field encountered message

KView just gave a black screen
KKuickshow gave - perhaps the file format is unsupported or your Imlib is not installed properly

Adobe Photoshop LE 5.0 running in windows could not load it.

Eventually I manged to load it using a great windows program called irfanview. I now have this working under wine.

It seems that the Linux programs are behind the game here.

Where might I find a program which can support the most up to date file formats?

TIA

arubin 02-18-2007 07:52 AM

I think I have worked this out with the help of this page

http://suppressingfire.org/~burner/evil-mods-tiff/
Quote:

The TIFF that is generated by Microsoft Office Document Scanning is not a proper TIFF. It appears that it Microsoft has decided to use TIFF as a container itself (for a JPEG, it turns out!). This is against the TIFF standard, rendering the TIFF file useless to anything but Microsoft Office Document Imaging, as far as I can tell. Of course, I don't have Microsoft Office 2003, so I don't know. I do know that I've tried to open these files using the Microsoft TIFF viewer on Windows XP to no avail.
He recommends using a program called foremost with

foremost -i attached.tif -o attached

I tried it and it worked.

David the H. 02-18-2007 08:12 AM

I was thinking as much as soon as I read your first post. In my experience, a problem opening ALL files usually means that the reading program has bugs, but problems with only specified files generally means that the generating program did something non-standard. That, or the file is simply corrupt.

This is doubly-true when it comes to Microsoft. You should never expect their programs to generate standard anything.

Even so, I'm surprised to read just how blatantly non-standard their tiff generation actually is. Even their own products can't handle the garbage they produce, and you have to use a data recovery program to extract anything usable. Pathetic.

2damncommon 02-18-2007 11:40 AM

Quote:

Originally Posted by David the H.
This is doubly-true when it comes to Microsoft. You should never expect their programs to generate standard anything.

M$ actually calls the blatant breaking of standards "value add", where they "add features" and you must use their software to "take advantage" of the "improved features". :rolleyes:


All times are GMT -5. The time now is 12:22 PM.