diff --git a/pilkit/processors/crop.py b/pilkit/processors/crop.py index b039d30..e8eccc1 100644 --- a/pilkit/processors/crop.py +++ b/pilkit/processors/crop.py @@ -66,7 +66,7 @@ def process(self, img): .convert('RGBA') diff = ImageChops.subtract(diff, tmp) - bbox = diff.getbbox() + bbox = diff.getbbox(alpha_only=False) if bbox: img = _crop(img, bbox, self.sides) return img