Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArrayIndexOutOfBoundsException on resize using triangle filter #165

Amooti opened this issue Jun 25, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jun 25, 2019

Using the following code in the 1.3.8 release:

final FImage fImage = ImageUtilities.createFImage(image);
fImage.processInplace(new ResizeProcessor(width, height, false, TriangleFilter.INSTANCE));
return ImageUtilities.createBufferedImage(fImage);

I get a the following exception:

java.lang.ArrayIndexOutOfBoundsException: 93
    at org.openimaj.image.processing.resize.ResizeProcessor.zoom(
    at org.openimaj.image.processing.resize.ResizeProcessor.zoomInplace(
    at org.openimaj.image.processing.resize.ResizeProcessor.processImage(
    at org.openimaj.image.processing.resize.ResizeProcessor.processImage(
    at org.openimaj.image.SingleBandImage.processInplace(

This only happens with the TriangleFilter. I've attached an example image causing this error.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.