Hi, looks like the utility crashes when the image width is not a multiple of 8 due to a bug in the nested for loops:
height: 1170 width: 1170 total byte length: 173222
pixel offset: 62
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 173160
at org.orphanware.App.convertBMP(App.java:132)
at org.orphanware.App.main(App.java:87)
Easiest workaround is to add or remove a couple of pixels to your image width so that it is exactly divisible by 8.
Hi, looks like the utility crashes when the image width is not a multiple of 8 due to a bug in the nested for loops:
height: 1170 width: 1170 total byte length: 173222
pixel offset: 62
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 173160
at org.orphanware.App.convertBMP(App.java:132)
at org.orphanware.App.main(App.java:87)
Easiest workaround is to add or remove a couple of pixels to your image width so that it is exactly divisible by 8.