metadata-extractor-2.4.0.rar metadata-extractor-2.4.0.rar 获取 图片 exif 信息 使用方法: File jpegFile = new File("c:\\newchangetime.jpg"); Metadata metadata = JpegMetadataReader.readMetadata(jpegFile); Directory exif = metadata.getDirectory(ExifDirectory.class); Iterator tags = exif.getTagIterator(); // print color space //print all exif metadata while (tags.hasNext()) { Tag tag = (Tag)tags.next(); System.out.println(tag.getTagType() + "====>" +tag); }
2022-03-31 20:29:59 79KB metadata-extractor-2.4.0.rar 获取 图片 exif
1