Closed oeway closed 3 years ago
If I mount a jpeg image into the file system and read with Image img = Toolkit.getDefaultToolkit().createImage(file_path), it returns null.
Image img = Toolkit.getDefaultToolkit().createImage(file_path)
This is it being used in my project which currently failed and I had to switch to ImageIO.
(I tried to create a minimal test case, but not sure how to mount a file to https://javafiddle.leaningtech.com/)
This issue might be fixed with endpoint: https://cjrtnc.leaningtech.com/20201008/loader.js
We can't be sure without a full test case, if the problem is still there please provide one.
@alexp-sssup It works, thanks!
If I mount a jpeg image into the file system and read with
Image img = Toolkit.getDefaultToolkit().createImage(file_path)
, it returns null.This is it being used in my project which currently failed and I had to switch to ImageIO.
(I tried to create a minimal test case, but not sure how to mount a file to https://javafiddle.leaningtech.com/)