un1t/django-resized — pull request #8 by splaroche (2014-09-24 16:50:25+00:00)
Title: Sets the MAXBLOCK size to the image size when an image fails to save the...

... first time.

Without this fix, PIL will throw ``IOError: encoder error -2 when writing image file`` because the MAXBLOCK size is too small.