You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading this file with ImageIO.read() and writing it with ImageIO.write() wrongly brings a visually black image. IrfanView claims it has 947 unique colors. IrfanView correctly displays the source image, and claims it has 12 BitsPerPixel.
Using the example "How to read a JP2 or JPX image" at https://github.com/faceless2/jpeg2000/ creates a correct .ppm image; iin.getBitsPerComponent() returns 8. So maybe they fixed that bug some time ago.
x.zip
Reading this file with ImageIO.read() and writing it with ImageIO.write() wrongly brings a visually black image. IrfanView claims it has 947 unique colors. IrfanView correctly displays the source image, and claims it has 12 BitsPerPixel.
Using the example "How to read a JP2 or JPX image" at https://github.com/faceless2/jpeg2000/ creates a correct .ppm image;
iin.getBitsPerComponent()
returns 8. So maybe they fixed that bug some time ago.Source of that image: https://bugzilla.mozilla.org/show_bug.cgi?id=1659412
The text was updated successfully, but these errors were encountered: