Hi
i have a Jframe and panel and i set a label (yes a label) to a jpg image (and some timed text..)
in my win PC it takes ~208 ms to make:
//timer start..
BufferedImage img = ImageIO.read(file);
//timer end..
I like to open this in a PasberryPiZerroW or "v3b"
but in the PasberryPi v3 it takes ~2600 ms to make:
//timer start..
BufferedImage img = ImageIO.read(file);
//timer end..
and for the rasberryPiZerroW it takes forever!, i have a timeout that kicks in @15s and it is activated!
if i try to open the image in a atandalone image viewer, the "zerro w" open the image "instantly/no lag"!
(pi uses java 7)
Can i use something more modern and fast?
(and i have difficulty to change type of the BufferedImage, so please: i what to use "BufferedImage "-format..)
I have tryed this code on the PasberryPi v3 :
https://forum.processing.org/one/topic/snippet-crazy-fast-image-loading.html
but it just loads 10 -50% of the picture, i have a loop that trys to open this in this example and take (300ms)..
i change the timer to x100, but is there a better way?