Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
ae1bc078
Commit
ae1bc078
authored
Apr 07, 2014
by
Gero Müller
Browse files
add antialiaseing pil thumbs
parent
30b86129
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/remote/filesystem.py
View file @
ae1bc078
...
...
@@ -394,7 +394,7 @@ class FileSystem(object):
if
HAVE_PIL
:
output
=
StringIO
()
img
=
Image
.
open
(
path
)
img
.
thumbnail
((
width
,
height
))
img
.
thumbnail
((
width
,
height
)
,
Image
.
ANTIALIAS
)
if
sharpen
:
img
.
filter
(
ImageFilter
.
SHARPEN
)
img
.
save
(
output
,
"JPEG"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment