pil rotate 90 bug ?

Jeremy Craven <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
I have a program that has been working fine rotating images by arbitrary 
angles.

I just found that if I specify 90 degrees exactly then the image goes 
crazy: only appears in left hand half of image and every other line is 
black and image is stretched vertically.

Any ideas if this is a bug or I am perhaps doing something in a 
non-recommended way.

I attach a cut down version of the code which shows the problem. It 
reads "test_in.tif". It rotates it 90.0 and writes "test.tif". It 
rotates it 89.99 and writes "test1.tif". The second output file looks 
fine. The first is wonky.

I'm using version 1.1.7

Thanks for listening

Jeremy

-- 
*********************************************************************************

Dr C. Jeremy Craven
Department of Molecular Biology and Biotechnology
University of Sheffield,
Firth Court, Western Bank
S10 2TN Sheffield UK

e-mail: [email protected]
http://www.shef.ac.uk/uni/projects/nmr/CJC/CJC.html

Phone:                       x24323
 From outside Sheffield:      0114 222 4323
 From outside UK:             +44 114 2224323
Fax:                         0114 272 2800

*********************************************************************************
test.tif (image/tiff, 742.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.