[Okular-devel] [Bug 162934] Non-square pixels (e.g. for FAX) are not handled properly.

Steve Underwood steveu at coppice.org
Sat May 31 11:17:56 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=162934         




------- Additional Comments From steveu coppice org  2008-05-31 11:17 -------
Created an attachment (id=25026)
 --> (http://bugs.kde.org/attachment.cgi?id=25026&action=view)
Simple FAX Tiff file

Attached is the simplest possible test TIFF file - a plain white standard
resolution A4 FAX page. When displayed in okular it looks much wider than it is
high. However, using tiffdump on the file you will see that it is as follows:

ImageWidth (256) SHORT (3) 1<1728>
ImageLength (257) SHORT (3) 1<1100>
ResolutionUnit (296) SHORT (3) 1<2>
XResolution (282) RATIONAL (5) 1<204>
YResolution (283) RATIONAL (5) 1<98>

Now, 1728 pixels wide at 204 per inch is 8.47 inches wide, and 1100 lines at 98
per inch is 11.22 inches long. The image should actually be the shape of a
normal A4 page.


More information about the Okular-devel mailing list