Add quality to art resizer docstring

This commit is contained in:
Daniel Barber 2020-02-22 12:05:02 -05:00
parent d82573f8f3
commit 4e7fd47a35

View file

@ -198,7 +198,8 @@ class ArtResizer(six.with_metaclass(Shareable, object)):
def resize(self, maxwidth, path_in, path_out=None, quality=0):
"""Manipulate an image file according to the method, returning a
new path. For PIL or IMAGEMAGIC methods, resizes the image to a
temporary file. For WEBPROXY, returns `path_in` unmodified.
temporary file and encodes with the specified quality level.
For WEBPROXY, returns `path_in` unmodified.
"""
if self.local:
func = BACKEND_FUNCS[self.method[0]]