how to get shutter actuation count from image metadata android -
i using metadata-extractor-2.5.0-rc3.jar extract metadata image. shows details except shutter count. there possibility metadata image
private void prosessimage(uri uri) { try { // inputstream = new url(uri); inputstream = null; = getcontentresolver().openinputstream(uri); // convert stream data here // is.close(); bufferedinputstream bis = new bufferedinputstream(is); metadata metadata = imagemetadatareader.readmetadata(bis, true); jsonarray data = new jsonarray(); (directory directory : metadata.getdirectories()) { (tag tag : directory.gettags()) { system.out.println(tag); data.put(tag); } } system.out.println(data); // jsonarray dictionary = new jsonarray(); } catch (imageprocessingexception e) { e.printstacktrace(); } catch (ioexception e) { e.printstacktrace(); } }
hi find tag shutter count
"[nikon makernote] exposure sequence number - 7733",
Comments
Post a Comment