M
Markus Bader
I want to read information form an image (jpg) witch has some extra
information includet form a digital camera like cration date, fokus, flash
on of, ...
How can I get this informations.
My first idea was.
BufferedImage image = ImageIO.read(filePicture);
if (image().getPropertyNames() != null) {
for (int j = 0; j < image().getPropertyNames().length; j++) {
String key = image().getPropertyNames()[j];
String value = (String) image().getProperty(key);
System.out.println(key + ": " + value);
}
}
But the getPropertyNames() returns null!
How knows the awnser?
Thanks
Markus
information includet form a digital camera like cration date, fokus, flash
on of, ...
How can I get this informations.
My first idea was.
BufferedImage image = ImageIO.read(filePicture);
if (image().getPropertyNames() != null) {
for (int j = 0; j < image().getPropertyNames().length; j++) {
String key = image().getPropertyNames()[j];
String value = (String) image().getProperty(key);
System.out.println(key + ": " + value);
}
}
But the getPropertyNames() returns null!
How knows the awnser?
Thanks
Markus