public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] USE flags for tif/tiff
@ 2007-03-14  7:49 Andrew Gaydenko
  2007-03-14 13:57 ` Albert Hopkins
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Gaydenko @ 2007-03-14  7:49 UTC (permalink / raw
  To: gentoo-user

Are there USE flags (except for tif/tiff) I must add to make.conf/USE="..." string which 
influence to tif/tiff rendering? I have noticed, I can not open some tif files which
were created by scanning-related software on win32 machines. I have tried GIMP, GQview
and few KDE-related apps without success.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] USE flags for tif/tiff
  2007-03-14  7:49 [gentoo-user] USE flags for tif/tiff Andrew Gaydenko
@ 2007-03-14 13:57 ` Albert Hopkins
  2007-03-14 14:29   ` Andrew Gaydenko
  0 siblings, 1 reply; 4+ messages in thread
From: Albert Hopkins @ 2007-03-14 13:57 UTC (permalink / raw
  To: gentoo-user

On Wed, 2007-03-14 at 10:49 +0300, Andrew Gaydenko wrote:
> Are there USE flags (except for tif/tiff) I must add to make.conf/USE="..." string which 
> influence to tif/tiff rendering? I have noticed, I can not open some tif files which
> were created by scanning-related software on win32 machines. I have tried GIMP, GQview
> and few KDE-related apps without success.

When you say "can not open" is there some kind of error message
associated with it?

I've not had any issues with TIFF files (though admittedly I rarely need
to open any), but I would guess if it's only "some" files then it may be
that the program that generated them uses a non-standard/incompatible
format.  It's hard to say without an actual error message. I've found
ImageMagick's identify(1) command to be very helpful with determining if
a file is indeed the format the creator claims it to be.

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] USE flags for tif/tiff
  2007-03-14 13:57 ` Albert Hopkins
@ 2007-03-14 14:29   ` Andrew Gaydenko
  2007-03-14 14:50     ` Albert Hopkins
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Gaydenko @ 2007-03-14 14:29 UTC (permalink / raw
  To: gentoo-user

Hi!
======= On Wednesday 14 March 2007, you wrote: =======
...
> When you say "can not open" is there some kind of error message
> associated with it?
> 
> I've not had any issues with TIFF files (though admittedly I rarely need
> to open any), but I would guess if it's only "some" files then it may be
> that the program that generated them uses a non-standard/incompatible
> format.  It's hard to say without an actual error message. I've found
> ImageMagick's identify(1) command to be very helpful with determining if
> a file is indeed the format the creator claims it to be.
> 
> --
> Albert W. Hopkins
> 


All programs says about bad format. You are right, only some rare TIFF files
can not be opened. I use IrfanView (as it is at least free) under wine to see
such files. 

'identify' for last problem file output is (and GIMP says approximately the same):

identify rodnik.tif
identify: rodnik.tif: unknown field with tag 513 (0x201) encountered. `TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 514 (0x202) encountered. `TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37680 (0x9330) encountered. `TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
identify: Invalid YCbCr subsampling. `rodnik.tif'.
identify: rodnik.tif: cannot handle zero strip size. `TIFFReadDirectory'.

IrfanView shows the file without problems.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] USE flags for tif/tiff
  2007-03-14 14:29   ` Andrew Gaydenko
@ 2007-03-14 14:50     ` Albert Hopkins
  0 siblings, 0 replies; 4+ messages in thread
From: Albert Hopkins @ 2007-03-14 14:50 UTC (permalink / raw
  To: gentoo-user

On Wed, 2007-03-14 at 17:29 +0300, Andrew Gaydenko wrote:

> 
> All programs says about bad format. You are right, only some rare TIFF files
> can not be opened. I use IrfanView (as it is at least free) under wine to see
> such files. 
> 
> 'identify' for last problem file output is (and GIMP says approximately the same):
> 
> identify rodnik.tif
> identify: rodnik.tif: unknown field with tag 513 (0x201) encountered. `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 514 (0x202) encountered. `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 37680 (0x9330) encountered. `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
> identify: Invalid YCbCr subsampling. `rodnik.tif'.
> identify: rodnik.tif: cannot handle zero strip size. `TIFFReadDirectory'.
> 
> IrfanView shows the file without problems.
> 

Error messages and Google: my favorite combo.  To summarize:

        The TIFF file format permits programs to include information
        which only that program understands. TIFF files produced by
        programs that do this are not always readable by other programs.

and

        End result: if you get your hands on one of these "old style
        jpeg in tiff" files, you're pretty much out of luck. You'll have
        to negotiate with the file supplier to provide it in a different
        format.

Hope this helps.
--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-14 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14  7:49 [gentoo-user] USE flags for tif/tiff Andrew Gaydenko
2007-03-14 13:57 ` Albert Hopkins
2007-03-14 14:29   ` Andrew Gaydenko
2007-03-14 14:50     ` Albert Hopkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox