aboutsummaryrefslogtreecommitdiffstats
path: root/extlib/freesound/audioprocessing.py
diff options
context:
space:
mode:
authorBrett Smith <brettcsmith@brettcsmith.org>2012-03-17 23:43:46 -0400
committerBrett Smith <brettcsmith@brettcsmith.org>2012-03-17 23:43:46 -0400
commit063670e9b42c94bb6c4cf5c2838ab67a62349822 (patch)
tree09352fda73d6c130250f0856fb05cea241f7eea2 /extlib/freesound/audioprocessing.py
parent416b439fc883a570902edd094b44f310d66e849c (diff)
downloadmediagoblin-063670e9b42c94bb6c4cf5c2838ab67a62349822.tar.lz
mediagoblin-063670e9b42c94bb6c4cf5c2838ab67a62349822.tar.xz
mediagoblin-063670e9b42c94bb6c4cf5c2838ab67a62349822.zip
Refactor image resize code, with better filenames (#261)
The code to make thumbnail- and medium-sized images in processing.py is pretty similar, so I rolled that out into a separate function that we call with different arguments as appropriate. The new function should work identically to the old code, except it saves images with filenames based on the original filename, like `foobar.medium.jpg` instead of just `medium.jpg`. This fixes bug #261.
Diffstat (limited to 'extlib/freesound/audioprocessing.py')
0 files changed, 0 insertions, 0 deletions