View previous topic :: View next topic |
Author |
Message |
lzap n00b
Joined: 14 Jan 2004 Posts: 60
|
Posted: Thu Apr 07, 2005 10:36 am Post subject: Cannot read TIFF |
|
|
Hello, my programs (like qgview) cannot read several TIFF files even if I have tiff support in my USE flags:
Code: | USE="x86 X aac acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzlib cdparanoia cdr crypt cups curl divx4linux dvd dvdr dvdread emboss encode esd exif fam ffmpeg foomaticdb fortran freetype ftp gd gdbm gif glut gpm gtk gtk2 guile i8x0 iconv icq imagemagick imlib innodb ipv6 jabber jack java javascript jpeg junit kdeenablefinal ladcca ldap lesstif libg++ libwww lm_sensors mad maildir mbox mikmod mime mmx mono motif mozilla mp3 mpeg msn mysql ncurses network nls ogg oggvorbis openal opengl oss pam pcre pda pdflib perl php png pnp portaudio postgres python qt quicktime readline recode ruby samba sdl slang spell sse sse2 ssl svg svga tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb wifi wmf xine xml xml2 xmms xpm xv xvid zlib" |
What to do? What is wrong? _________________ Lukas Zapletal
Olomouc / Czech Republic |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Thu Apr 07, 2005 1:16 pm Post subject: |
|
|
Are these compressed tiff files? I think there's a separate USE flag to enable support for the (patented) compression algorithm used by gif, and sometimes tiff. Look for lzw. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
lzap n00b
Joined: 14 Jan 2004 Posts: 60
|
Posted: Thu Apr 07, 2005 2:57 pm Post subject: |
|
|
"lzw" flag didnt help _________________ Lukas Zapletal
Olomouc / Czech Republic |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Thu Apr 07, 2005 3:01 pm Post subject: |
|
|
Run file on each of the files affected, then run it on those that aren't affected by this problem. For example:
The LZW flag might still be the culprit, but you might not have recompiled everything that depends upon it. I'm curious to see if the output of each tiff file shows any differences.
Do you have the same problems with xv, eog, and gimp or other image viewers? _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
lzap n00b
Joined: 14 Jan 2004 Posts: 60
|
Posted: Thu Apr 07, 2005 3:43 pm Post subject: |
|
|
Only GIMP loads it, nothing else... I have recompiled gqview with no change, it really seems the TIFF is in bad format...
Code: | lzap@teepee xy $ file xye.tif
xy.tif: TIFF image data, big-endian |
_________________ Lukas Zapletal
Olomouc / Czech Republic |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Thu Apr 07, 2005 3:47 pm Post subject: |
|
|
If Gimp will load it, have you tried saving it from Gimp? You don't have to install over the original, just make a copy. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
lzap n00b
Joined: 14 Jan 2004 Posts: 60
|
Posted: Thu Apr 07, 2005 3:54 pm Post subject: |
|
|
Saved, tried with or without compression. Both cannot be loaded with my favourite gqview (which worked fine under Mandrakelinux)... Maybe I need to recompile a libtiff or something like that... _________________ Lukas Zapletal
Olomouc / Czech Republic |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Thu Apr 07, 2005 5:08 pm Post subject: |
|
|
Yes, definitely do that! If you haven't recompiled it, you haven't taken advantage of the LZW flag. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
|