/** * 判断图片是否为GIF格式 * * @param is * @return */ public static boolean isGif(InputStream is) { GifHelper gifHelper = new GifHelper(); return gifHelper.isGif(is); }