projects
/
Photo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe8318f
)
La vignette est contrainte, par défaut, dans un carré de 180 pixels de côté.
author
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 21 Jun 2013 08:45:34 +0000
(10:45 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 21 Jun 2013 08:45:34 +0000
(10:45 +0200)
Photo.py
patch
|
blob
|
history
diff --git
a/Photo.py
b/Photo.py
index
86036e4
..
ed6fd26
100755
(executable)
--- a/
Photo.py
+++ b/
Photo.py
@@
-122,7
+122,7
@@
class Photo(Image, TileSupport, Metadata):
self.auto_update_thumb = kw.get('auto_update_thumb', 1)
self.thumb_height = kw.get('thumb_height', 180)
self.auto_update_thumb = kw.get('auto_update_thumb', 1)
self.thumb_height = kw.get('thumb_height', 180)
- self.thumb_width = kw.get('thumb_width', 1
2
0)
+ self.thumb_width = kw.get('thumb_width', 1
8
0)
self.prop_filter = kw.get('prop_filter', 'ANTIALIAS')
defaultBlankThumbnail = kw.get('defaultBlankThumbnail', None)
self.prop_filter = kw.get('prop_filter', 'ANTIALIAS')
defaultBlankThumbnail = kw.get('defaultBlankThumbnail', None)