80
87
op = getattr(_imagingmath, op+"_"+im1.mode)
83
90
_imagingmath.binop(op, out.im.id, im1.im.id, im2.im.id)
88
95
# an image is "true" if it contains at least one non-zero pixel
89
96
return self.im.getbbox() is not None
91
104
return self.apply("abs", self)