
The Java program given below reads the metadata from one or more image files given as arguments to the program. The metadata is read into an XML Document Object Model (DOM) tree, and a simple method is used to print each element and attributes (if present). The code for printing the tree is roughly based on the example given in Handling Metadata (Java Image I/O API Guide).
Read the rest of Obtaining image metadata.
Advertisements: Python Programmer for hire Custom Software Development Perl Coder For Hire
Advertisements: Perl Programmer for Hire Python Coder available Custom Software Development
Note that your comment doesn't show up immediately. I review each comment before I add it to this site.
Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.
Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=http://example.com/]example text[/url].
Thanks for this. Was able to use it as a checker for corrupt images for a resizer servlet I was working on. If the file is corrupt, the metadata call throws up exceptions.