You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Write image data using TIFF.open(filename, 'w').write(data)
What is the expected output? What do you see instead?
The created diff file has orientation 6 (
The offending lines are in libtiff_ctypes.py, lines 403, 420, and 453:
self.SetField(TIFFTAG_ORIENTATION, ORIENTATION_RIGHTTOP)
The correct value is 1, not 6. See, for example,
http://www.awaresystems.be/imaging/tiff/tifftags/orientation.html
Note also that simply not setting the orientation tag also results in a correct
image.
What version of the product are you using? On what operating system?
pylibtiff 0.1svn, Linux Ubuntu 10.10
Please provide any additional information below.
Original issue reported on code.google.com by fluid.th...@gmail.com on 25 Nov 2011 at 10:14
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
fluid.th...@gmail.com
on 25 Nov 2011 at 10:14The text was updated successfully, but these errors were encountered: