qfhahn / java-image-scaling

Automatically exported from code.google.com/p/java-image-scaling
Other
0 stars 0 forks source link

ArrayIndexOutOfBoundsException when upscaling a very small image #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When upscaling a very small image an ArrayIndexOutOfBoundsException is thrown:

Exception in thread "Thread-7" java.lang.ArrayIndexOutOfBoundsException: 2
    at com.mortennobel.imagescaling.ResampleOp.verticalFromWorkToDst(ResampleOp.java:335)
    at com.mortennobel.imagescaling.ResampleOp.access$2(ResampleOp.java:311)
    at com.mortennobel.imagescaling.ResampleOp$2.run(ResampleOp.java:164)
    at java.lang.Thread.run(Thread.java:680)

Original issue reported on code.google.com by cal...@knighttemplars.org on 1 Jul 2011 at 2:13

GoogleCodeExporter commented 8 years ago
Test case.

Original comment by cal...@knighttemplars.org on 1 Jul 2011 at 2:15

Attachments:

GoogleCodeExporter commented 8 years ago
Duplicate of Issue 2

Original comment by mor...@nobel-joergensen.com on 1 Jul 2011 at 8:06