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
30b86129
Commit
30b86129
authored
Apr 07, 2014
by
Gero Müller
Browse files
add sharpening to pil thumbnails
parent
1ada38e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/remote/filesystem.py
View file @
30b86129
...
...
@@ -396,7 +396,7 @@ class FileSystem(object):
img
=
Image
.
open
(
path
)
img
.
thumbnail
((
width
,
height
))
if
sharpen
:
im
.
filter
(
ImageFilter
.
SHARPEN
)
im
g
.
filter
(
ImageFilter
.
SHARPEN
)
img
.
save
(
output
,
"JPEG"
)
contents
=
output
.
getvalue
()
output
.
close
()
...
...
Write
Preview
Markdown
is supported
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