Good afternoon, I have an error when I try to store a mark on an image. I general the following exception, this error is generated on occasions, can you tell me how to fix.
Exception in thread "Thread-4" java.lang.IllegalArgumentException: Only integral single-band bilevel image is supported.
at com.sun.imageio.plugins.wbmp.WBMPImageWriter.checkSampleModel(WBMPImageWriter.java:295)
at com.sun.imageio.plugins.wbmp.WBMPImageWriter.write(WBMPImageWriter.java:153)
at javax.imageio.ImageWriter.write(ImageWriter.java:598)
at biometrico.Util.saveTemp(Util.java:1369)
at biometrico.Util.extract(Util.java:1217)
at biometrico.Util.onImageAcquired(Util.java:282)
at com.griaule.grfingerjava.GrFingerJavaNative.callbackImage(GrFingerJavaNative.java:157)
Thank you very much