projects
/
Photo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
La vignette est contrainte, par défaut, dans un carré de 180 pixels de côté.
[Photo.git]
/
TileSupport.py
diff --git
a/TileSupport.py
b/TileSupport.py
index
905b0f4
..
5b777cc
100644
(file)
--- a/
TileSupport.py
+++ b/
TileSupport.py
@@
-19,8
+19,8
@@
#######################################################################################
""" Tile support module
#######################################################################################
""" 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
"""
from AccessControl import ClassSecurityInfo
@@
-92,7
+92,7
@@
class TileSupport :
f = bf.open('r')
orientation = self.tiffOrientation()
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+')
if rotation and flip :
tf = TemporaryFile(mode='w+')