mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-19 04:31:01 +00:00
Use BasicCrop in other processors
This commit is contained in:
parent
51212749e9
commit
4278a95001
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class Crop(object):
|
|||
x = int(float(trim_x) * float(anchor[0]))
|
||||
y = int(float(trim_y) * float(anchor[1]))
|
||||
|
||||
return img.crop((x, y, x + new_width, y + new_height))
|
||||
return BasicCrop(x, y, new_width, new_height).process(img)
|
||||
|
||||
|
||||
class SmartCrop(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue