#######################################################################################
""" Tile support module
-$Id: TileSupport.py 1371 2009-09-10 17:58:28Z pin $
-$URL: http://svn.luxia.fr/svn/labo/projects/zope/Photo/trunk/TileSupport.py $
+
+
"""
from AccessControl import ClassSecurityInfo
f = bf.open('r')
orientation = self.tiffOrientation()
- rotation, flip = TIFF_ORIENTATIONS[orientation]
+ rotation, flip = TIFF_ORIENTATIONS.get(orientation, (0, False))
if rotation and flip :
tf = TemporaryFile(mode='w+')