[Bug 256330] Re: Evince and EOG display TIFF files flipped

2011-06-18 Thread madbiologist
Fixed in Eye of Gnome 3.1.2

** Changed in: eog (Ubuntu)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/256330

Title:
  Evince and EOG display TIFF files flipped

To manage notifications about this bug go to:
https://bugs.launchpad.net/eog/+bug/256330/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2011-06-09 Thread Bug Watch Updater
** Changed in: eog
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/256330

Title:
  Evince and EOG display TIFF files flipped

To manage notifications about this bug go to:
https://bugs.launchpad.net/eog/+bug/256330/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2010-09-16 Thread Bug Watch Updater
** Changed in: evince
   Importance: Unknown = Medium

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2010-09-16 Thread Bug Watch Updater
** Changed in: eog
   Importance: Unknown = Medium

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-10-01 Thread Sebastien Bacher
the new version is in intrepid now

** Changed in: evince (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-22 Thread Bug Watch Updater
** Changed in: eog
   Status: New = Confirmed

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-20 Thread Bug Watch Updater
** Changed in: evince
   Status: New = Fix Released

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Monk-e
Added this bug to Evince. Don't know how to add more than one package
(if that's at all possible). I hope the Evince or EOG maintainers can
track the source of this bug.

** Changed in: eog (Ubuntu)
Sourcepackagename: tiff = eog

** Changed in: evince (Ubuntu)
Sourcepackagename: eog = evince

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Monk-e
** Changed in: tiff (Debian)
   Importance: Unknown = Undecided
 Bugwatch: Debian Bug tracker #494453 = None
   Status: Fix Released = New

** Changed in: tiff (Debian)
   Importance: Undecided = Unknown
 Bugwatch: None = Debian Bug tracker #494453
   Status: New = Unknown

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Monk-e
Removing the link to Debian bugtracker to update the status manually.

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Monk-e
here is the link to the invalid Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494453

** Changed in: tiff (Debian)
   Importance: Unknown = Undecided
 Bugwatch: Debian Bug tracker #494453 = None
   Status: Unknown = New

** Changed in: tiff (Debian)
   Importance: Undecided = Unknown
 Bugwatch: None = Debian Bug tracker #494453
   Status: New = Unknown

** Changed in: tiff (Debian)
   Importance: Unknown = Undecided
 Bugwatch: Debian Bug tracker #494453 = None
   Status: Unknown = New

** Changed in: tiff (Debian)
   Status: New = Invalid

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Pedro Villavicencio
I'm also getting it with Intrepid will look upstream thanks.

** Changed in: evince (Ubuntu)
   Importance: Undecided = Low
 Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs)
   Status: Confirmed = Triaged

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Pedro Villavicencio
I've sent this upstream at:
http://bugzilla.gnome.org/show_bug.cgi?id=548444 ; thanks everybody.

** Also affects: evince via
   http://bugzilla.gnome.org/show_bug.cgi?id=548444
   Importance: Unknown
   Status: Unknown

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Bug Watch Updater
** Changed in: evince
   Status: Unknown = New

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Pedro Villavicencio
I've sent the eog issue to here:
http://bugzilla.gnome.org/show_bug.cgi?id=548474 ; The evince one was
fixed upstream now, thanks all for reporting.

** Changed in: eog (Ubuntu)
   Importance: Undecided = Low
 Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs)
   Status: New = Triaged

** Bug watch added: GNOME Bug Tracker #548474
   http://bugzilla.gnome.org/show_bug.cgi?id=548474

** Also affects: eog via
   http://bugzilla.gnome.org/show_bug.cgi?id=548474
   Importance: Unknown
   Status: Unknown

** Changed in: evince (Ubuntu)
   Status: Triaged = Fix Committed

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-19 Thread Bug Watch Updater
** Changed in: eog
   Status: Unknown = New

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-18 Thread VladimirCZ
Jay, many thanks for your research and analysis. Now, it seems the
Ubuntu bug maintainer (Monk-e probably) should requalify the bug
pertinence to Evince and EOG.

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-17 Thread Jay Berkenbilt
This is not a libtiff bug, and the fact that the tiff file is multipage
is not relevant.  The problem is with the tiff file headers and with the
applications' interpretations of those headers.  I believe eog and
evince are both misinterpreting the orientation header.

To rule out the multipage nature of the image as a source of the
problem, you run tiffsplit on the attached image to get separate images
for each of the eight pages, called xaaa.tif through xaah.tif.  You can
display any of those pages with evince or eog and see the same thing,
indicating that this doesn't have anything to do with the image being a
multipage image.

We can observe that the orientation of these tiff files is unusual.  To
do this, create a normal tiff file using import from ImageMagick.
Run

import /tmp/a.tif

and click on any window.  Then run

tiffinfo /tmp/a.tiff | grep Orientation

You will see

  Orientation: row 0 top, col 0 lhs

This means that the first row of the image is the visual top, and the
first column is the visual left.

If you run tiffinfo on the attached image file and grep for Orientation,
you see the following:

  Orientation: row 0 rhs, col 0 top
  Orientation: row 0 rhs, col 0 top
  Orientation: row 0 rhs, col 0 top
  Orientation: row 0 rhs, col 0 top
  Orientation: row 0 rhs, col 0 top
  Orientation: row 0 rhs, col 0 top
  Orientation: row 0 rhs, col 0 top
  Orientation: row 0 rhs, col 0 top

All subimages have row 0 rhs, col 0 top, meaning that the first row is
the visual right and the first column is the visual top.  This is the
same as having the image rotated 90 degrees to the right.

It seems that both eog and evince are flipping the image horizontally
instead of rotating it, and display from ImageMagick is ignoring the
orientation field entirely.  The only application I've been able to find
that actually handles this orientation value is gthumb, which at least
the way I have it configured (I know I set some option to obey image
orientation because my Canon digital camera uses the jpeg orientation
field), does actually show the image rotated 90 degrees to the right.
Even gimp doesn't handle this properly.  If you run gimp on one of the
pages, you get the warning

** (tiff-load:27322): WARNING **: Orientation 6 not handled yet!

If you run tiffcp on the file to copy it to another file using the tiff
library:

% tiffcp AK-LV104e.tif a.tif
AK-LV104e.tif: Warning, using top-left orientation.
AK-LV104e.tif: Warning, using top-left orientation.
AK-LV104e.tif: Warning, using top-left orientation.
AK-LV104e.tif: Warning, using top-left orientation.
AK-LV104e.tif: Warning, using top-left orientation.
AK-LV104e.tif: Warning, using top-left orientation.
AK-LV104e.tif: Warning, using top-left orientation.
AK-LV104e.tif: Warning, using top-left orientation.

you can observe that libtiff overrides the orientation.  The resulting
file displays properly with evince and eog and all the other viewers I
can find.

I'm not sure whether eog and evince, both gnome applications, might be
using the same underlying code between the application and libtiff to
render the images.  In that case, the bug is really against that
library, not libtiff.  It's also possible that they both interpret the
orientation fields in the same way in their own code.  More
investigation would be required to figure out where the bugs really
live.

As an interesting experiment, you can determine how different
applications interpret orientation by resetting the orientation field in
the header using tiffset.  The orientation field has tag number 274,
which you can tell from the output of tiffdump.  To set the orientation
of one of the pages to normal 1 orientation, you can run

tiffset -s 274 1 xaaa.tif

Then you will observe that xaaa.tif displays properly in all viewers.
Here are the meanings of the orientation values from the TIFF spec:

1 = row 0 top, col 0 left
2 = row 0 top, col 0 right
3 = row 0 bottom, col 0 right
4 = row 0 bottom, col 0 left
5 = row 0 left, col 0 top
6 = row 0 right, col 0 top
7 = row 0 right, col 0 bottom
8 = row 0 left, col 0 bottom

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-17 Thread Jay Berkenbilt
In case it gets buried in the above comment, here is a workaround for
your problem:

 * The above includes a workaround: run tiffcp your-image.tif new-
image.tif.  The resulting image, at least in the case of the above
attachment, displays properly in all the above mentioned applications.

Also, I should mention that, as the debian maintainer of the tiff
packages, I very much appreciate that someone took the trouble to report
the bug in the debian bug tracking system.  This is how I became aware
of the issue.  I've closed the bug there with comments pending
investigation of where the bug actually lives.  At the time, I hope
someone will again create the appropriate bugs in the debian bug
tracking system and/or in the bug tracking systems for the upstream
software.

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-17 Thread Bug Watch Updater
** Changed in: tiff (Debian)
   Status: New = Fix Released

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256330] Re: Evince and EOG display TIFF files flipped

2008-08-09 Thread Bug Watch Updater
** Changed in: tiff (Debian)
   Status: Unknown = New

-- 
Evince and EOG display TIFF files flipped
https://bugs.launchpad.net/bugs/256330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs