读取GIF图片,java.lang.ArrayIndexOutO
2015-04-15 本文已影响2354人
fabe3d19fb81
javax.imageio.ImageIO 的read方法,在读取部分gif图片(如下图)会出现 java.lang.ArrayIndexOutOfBoundsException: 4096 的错误。
在查阅谷歌的时候,只找到stackoverflow上一些问答,还好友人已经给出了些解答
http://stackoverflow.com/questions/22259714/arrayindexoutofboundsexception-4096-while-reading-gif-file
https://github.com/DhyanB/Open-Imaging,在此主页上找到作者针对此问题的修复
感谢作者。