Changeset 1051
- Timestamp:
- 11.06.2010 16:53:58 (20 months ago)
- Location:
- ZMS/trunk
- Files:
-
- 2 edited
-
ZMSGlobals.py (modified) (1 diff)
-
_pilutil.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/ZMSGlobals.py
r1043 r1051 1237 1237 # ZMSGlobals.pil_img_resize: 1238 1238 # -------------------------------------------------------------------------- 1239 def pil_img_resize( self, img, size, mode='resize', sffx=' none', qual=75):1239 def pil_img_resize( self, img, size, mode='resize', sffx='_thumbnail', qual=75): 1240 1240 """ 1241 1241 Returns a resized copy of an image. The size argument gives the requested -
ZMS/trunk/_pilutil.py
r918 r1051 87 87 # pil_img_resize: 88 88 # ------------------------------------------------------------------------------ 89 def pil_img_resize( self, img, size, mode='resize', sffx=' none', qual=75):89 def pil_img_resize( self, img, size, mode='resize', sffx='_thumbnail', qual=75): 90 90 91 91 # Save image in temp-folder. … … 109 109 # Read thumbnail from file-system. 110 110 lang_sffx = '_' + img.lang 111 thumb_sffx = '_thumbnail'111 thumb_sffx = str(sffx) 112 112 newfilename = filename[:-(len(_fileutil.extractFileExt(filename))+1)] 113 113 f = open(filename,'rb')
Note: See TracChangeset
for help on using the changeset viewer.
