mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
Remove crop.Crop to avoid confusion with resize.Crop
This commit is contained in:
parent
3e2bd2f21f
commit
3fad906305
1 changed files with 0 additions and 7 deletions
|
|
@ -89,13 +89,6 @@ class SmartFill(object):
|
|||
return crop.SmartCrop(self.width, self.height).process(img)
|
||||
|
||||
|
||||
class Crop(Fill):
|
||||
def __init__(self, *args, **kwargs):
|
||||
warnings.warn('`imagekit.processors.resize.Crop` has been renamed to'
|
||||
'`imagekit.processors.resize.Fill`.', DeprecationWarning)
|
||||
super(Crop, self).__init__(*args, **kwargs)
|
||||
|
||||
|
||||
class ResizeCanvas(object):
|
||||
"""
|
||||
Resizes the canvas, using the provided background color if the new size is
|
||||
|
|
|
|||
Loading…
Reference in a new issue