美文网首页
读取GIF图片,java.lang.ArrayIndexOutO

读取GIF图片,java.lang.ArrayIndexOutO

作者: fabe3d19fb81 | 来源:发表于2015-04-15 08:35 被阅读2354次

    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,在此主页上找到作者针对此问题的修复

    感谢作者。

    相关文章

      网友评论

          本文标题:读取GIF图片,java.lang.ArrayIndexOutO

          本文链接:https://www.haomeiwen.com/subject/tiqsfttx.html