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
ImageIO.read() with the attached file brings this exception:
Exception in thread "main" java.lang.IllegalArgumentException: Dimensions (width=1000000 height=1000000) are too large
at java.awt.image.SampleModel.(SampleModel.java:130)
at java.awt.image.ComponentSampleModel.(ComponentSampleModel.java:146)
at java.awt.image.PixelInterleavedSampleModel.(PixelInterleavedSampleModel.java:87)
at com.github.jaiimageio.jpeg2000.impl.J2KReadState.getSampleModel(J2KReadState.java:899)
at com.github.jaiimageio.jpeg2000.impl.J2KReadState.readBufferedImage(J2KReadState.java:344)
at com.github.jaiimageio.jpeg2000.impl.J2KImageReader.read(J2KImageReader.java:441)
at javax.imageio.ImageIO.read(ImageIO.java:1448)
at javax.imageio.ImageIO.read(ImageIO.java:1308)
ImageIO.read()
with the attached file brings this exception:xxx.zip
Spoiler: the file is not 1000000 x 1000000.
The text was updated successfully, but these errors were encountered: