AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2001.02.09 14:13 "turning TIFF Images", by Braukmann, Juergen
2001.02.09 17:16 "Re: turning TIFF Images", by Daniel McCoy
2001.02.09 19:21 "Re: turning TIFF Images", by Alex
2001.02.09 19:36 "Re: turning TIFF Images", by chris
2001.02.10 01:55 "Re: turning TIFF Images", by Peter Montgomery
2001.02.13 00:18 "Re: turning TIFF Images", by ldk
2001.03.09 12:00 "Re: turning TIFF Images", by Roy Darrall
2001.03.09 12:53 "AW: turning TIFF Images", by Braukmann, Juergen

2001.02.09 19:21 "Re: turning TIFF Images", by Alex

Hi Juergen,

As a PostScript expert here I can recommend to convert the TIFF to PostScript and use rotate operator. This is a fine approach if you want to print your map.

if you want to get another TIFF or display the result on the screen you need to write a simple program that iterates over the rotated image and picks pixels from the source image. This is simple approach but it can be slow.

At small angle rotation can be done as 2 shifts in X and Y direction proportional to the distance to the row or column. This is a simple operation that can easily use processor-specific tricks to shuffle bits around.

Regards,
Alex

----- Original Message -----