fix crop
This commit is contained in:
parent
1c4060ac7b
commit
66d79d061c
|
|
@ -100,6 +100,7 @@ class CropImageSerializer(ImageSerializer):
|
||||||
crop_params = {
|
crop_params = {
|
||||||
'geometry': f'{width}x{height}',
|
'geometry': f'{width}x{height}',
|
||||||
'quality': quality,
|
'quality': quality,
|
||||||
|
'upscale': False,
|
||||||
'crop': crop,
|
'crop': crop,
|
||||||
}
|
}
|
||||||
cropped_image = self._image.get_cropped_image(**crop_params)
|
cropped_image = self._image.get_cropped_image(**crop_params)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user