drewnoakes / metadata-extractor

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Apache License 2.0
2.56k stars 480 forks source link

can't get gps info #471

Closed foolishgao closed 4 years ago

foolishgao commented 4 years ago

Metadata metadata = JpegMetadataReader.readMetadata(imageFile); for(Directory directory : metadata.getDirectories()){ for(Tag tag : directory.getTags()){ Log.e("tag", "name=" + tag.getTagName() + "desc=" + tag.getDescription()); } } this code can't print gps info , i use a picture have location info