摘要: // 这种方法如果遇到不是图片类型的文件会reader抛异常! public static void main(String[] args) throws IOException { // get image format in a file File file = new File("C:/Users/dell、/Desktop/2.txt"); ... 阅读全文