Join Patrick Royal for an in-depth discussion in this video My solution: Getting image metadata, part of Code Clinic: Java.
- In the solution overview,…I mention that the function I use to extract image metadata…comes from an external JAR file…rather than a standard Java library.…The standard Java library…has a number of useful functions for working with images,…and it can get basic properties like size and extension,…but it doesn't support extraction of image metadata per se.…Fortunately, there is an open source Java library…that does just that.…Given an image file, it will extract and return…all of the metadata for that image.…This is one of the great things about Java.…Because it is such a popular programming language,…many basic functions and algorithms…have already been implemented,…so you don't have to reinvent the wheel.…
To download this JAR file, go to the URL shown.…In the download section, click on the ZIP file…which for me is metadata-extractor-2.6.4.zip.…Your version may be different from mine,…but later versions will still offer the same functionality.…Then, choose to download the file,…and save it somewhere you can find later.…
Patrick introduces challenges and provide an overview of his solutions in Java. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, PHP, Python, and Ruby.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
Problem One: Exploring Lake Pend Oreille
Problem Two: Image Analysis
Problem Three: Eight Queens
Problem Four: Accessing Peripherals
Problem Five: Recursion and Directories
Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.