This is a blog about how to get the image file (s) some informations. Including the Make, Model, Date/Tiime, etc.
While, how can do it? I shoshould use a tool which name is:, Writed by Java, and now its version is 2.6.4.
And you can get more from. Or
How does it work?
While, I hava a demo and I will show the complete code to you.
String LINE = "-" String RIGHT_PARENTHESES = "]" main(String[] args) String[] pathNames = "C:/2013-02-08_12-24-54_100.jpg", "C:/20022013011.jpg", "C:/IMG_0018.JPG", "C:/IMG_0697.JPG", "C:/P1080402.JPG" List<File> files = ArrayList<File> File file = List<Map<String, String>> imagesInfo = File file = File("C:/IMG_0697.JPG" Map<String, String> map = System.out.println("##### the image file informations" printImagesInfo(List<Map<String, String>> (! (Map<String, String> System.out.println("======================================" HandleMap(Map<String, String> Iterator<String> iterator = String name = String value = System.out.println(name + " : " + @SuppressWarnings("unchecked" Map<String, String> getImageInfoOfExif(File jpegFile) Metadata metadata = Directory exifDirectory = metadata.getDirectory(ExifIFD0Directory. Collection tags = Iterator iterator = Map<String, String> abstractsMap = HashMap<String, String> Tag tag = String[] tagArrays = String[] abstracts = tagArrays[0 abstractsMap.put(abstracts[1].trim(), tagArrays[1 List<Map<String, String>> getImageInfoOfExif(List<File> files) (files == ) List<Map<String, String>> list = ArrayList<Map<String,String>> (files.size() > 0 Map<String, String> map = }
Date/Time : 2013:02:08 12:24:537272======================================/300300======================================/7272======================================6.1.3/Time : 2013:06:27 23:31:19907272======================================1.00xc4a5) : [208/0xc6d3) : [128/Time : 2013:01:04 00:01:061800xc6d2) : [64180======================================6.1.3/Time : 2013:06:27 23:31:19907272
Then, you shoshould have a try!