In debug mode when using the crop command, in the log screen I get the following warning:
During run time, the same code line will crash the program with the following error:
Code to generate GDK warning:
temp_image = temp_image.crop(cip.saved_image_x,cip.saved_image_y,cip.saved_image_blocklength,cip.saved_image_blockwidth)
GDK waring in debug mode:
(java:4037): Gdk-WARNING **: 10:08:34.009: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
During run time, the same code line will crash the program with the following error:
Runtime error::
cipimageadjustment._canvas5_mousereleased (java line: 295)
java.lang.NoClassDefFoundError: javafx/embed/swing/SwingFXUtils
at anywheresoftware.b4a.objects.B4XViewWrapper$B4XBitmapWrapper.Crop(B4XViewWrapper.java:867)
at b4j.serialtest.cipimageadjustment._canvas5_mousereleased(cipimageadjustment.java:295)