AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2010.01.29 13:10 "Re: tiff2ps, rotation", by Hans Werner Strube
2010.01.29 17:29 "Rotation in tiff2ps", by Richard Nolde

2010.01.29 13:10 "Re: tiff2ps, rotation", by Hans Werner Strube

The option -r of tiff2ps does not work properly, both in tiff 3.8.2 and
3.9.2.
In 3.8.2, this only shows up with Option -p and PS-Level >1. This results in
an inconsistent PS file, causing a bus error with ghostscript. I found a
strange switch between x and y related quantities (lines 604 and 610), as if
there were a 90 or 270 degrees rotation instead of the actual 180 degrees;
but fixing only this did not remove the inconsistency.
In 3.9.2, rotation by 180 degrees seems to be o.k., but with 90 and 270
degrees the page shape is not rotated, only the content is, which is then
deformed to match the page shape. This might be due to the fact that p[s]x
and p[s]y are switched both in calling PSHead() and again within PSHead().
But simply changing this is insufficient, because the aspect ratio of the
content remains wrong.