Free Support Forum - aspose.com

When binarizing certain images, the engine throws an error

Executing code as simple as

var image = (RasterImage) Image.load(is);
image.binarizeFixed(175);

on the attached image throws an error:

Can't binarize image.
class com.aspose.imaging.coreexceptions.ImageException: Can't binarize image. ---> class com.aspose.imaging.coreexceptions.ImageException: Can't binarize image. ---> class com.aspose.imaging.internal.Exceptions.ArgumentException: The rectangle has no common processing area. Cannot proceed.
...

Attaching an image and the full stack trace:
example.zip (4.0 MB)

error stack trace.zip (3.4 KB)

@astafev

I have opened a ticket with ID IMAGINGJAVA-1806 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.