Updated docstring of process_image

pull/477/merge
Karl Hobley 2014-07-30 17:03:01 +01:00 zatwierdzone przez Matt Westcott
rodzic f60216d783
commit 196810b9ea
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -300,9 +300,8 @@ class Filter(models.Model):
def process_image(self, input_file, output_file=None, focal_point=None, backend_name='default'): def process_image(self, input_file, output_file=None, focal_point=None, backend_name='default'):
""" """
Given an input image file as a django.core.files.File object, Run this filter on the given image file then write the result into output_file and return it
generate an output image with this filter applied, returning it If output_file is not given, a new BytesIO will be used instead
as another django.core.files.File object
""" """
# Get backend # Get backend
backend = get_image_backend(backend_name) backend = get_image_backend(backend_name)