Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot read TIFF
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
lzap
n00b
n00b


Joined: 14 Jan 2004
Posts: 60

PostPosted: Thu Apr 07, 2005 10:36 am    Post subject: Cannot read TIFF Reply with quote

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
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 07, 2005 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
lzap
n00b
n00b


Joined: 14 Jan 2004
Posts: 60

PostPosted: Thu Apr 07, 2005 2:57 pm    Post subject: Reply with quote

"lzw" flag didnt help :cry:
_________________
Lukas Zapletal
Olomouc / Czech Republic
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 07, 2005 3:01 pm    Post subject: Reply with quote

Run file on each of the files affected, then run it on those that aren't affected by this problem. For example:

Code:
file photo.tiff


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
View user's profile Send private message
lzap
n00b
n00b


Joined: 14 Jan 2004
Posts: 60

PostPosted: Thu Apr 07, 2005 3:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 07, 2005 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
lzap
n00b
n00b


Joined: 14 Jan 2004
Posts: 60

PostPosted: Thu Apr 07, 2005 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 07, 2005 5:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum