Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Issue 41 in metadata-extractor: error jpg exif
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
metadata-extrac...@googlecode.com  
View profile  
 More options Apr 15 2012, 10:41 am
From: metadata-extrac...@googlecode.com
Date: Sun, 15 Apr 2012 14:41:18 +0000
Local: Sun, Apr 15 2012 10:41 am
Subject: Issue 41 in metadata-extractor: error jpg exif
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 41 by pergola....@gmail.com: error jpg exif
http://code.google.com/p/metadata-extractor/issues/detail?id=41

I am using the latest extractor on your website. 2.5.0 RC3.

Jpg file exception:

When I try to get the date of release of this photo I get an exception that  
I can not manage, the program crashes anyone has any idea?

The development environment is the NetBeans 7.1.1, jdk version 1.6
s.o. windows 7 32 bit and windows xp 32 bit

The method I used is as follows:

      public static String LeggiMetaDataDataScatto (java.lang.String Path) {

          String result = "";

          JpegFile file = new File (Path);
              try {
                  Metadata metadata = ImageMetadataReader.readMetadata  
(jpegFile);

                  for (Directory directory: metadata.getDirectories ()) {
                      for (Tag tag: directory.getTags ()) {
                          String info = tag.toString ();

                          System.out.println (info);
                          if (Info.contains ("Date / Time Digitized")) {
                              Result = info;
                          }
                      }
                  }
                  System.out.println (metadata);
              } Catch (Exception e) {
              }

}

I get this error:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com  
/ adobe / xmp / XMPException
com.drew.imaging.jpeg.JpegMetadataReader.extractMetadataFromJpegSegmentRead er  
at  
(Unknown Source)
com.drew.imaging.jpeg.JpegMetadataReader.readMetadata at (Unknown Source)
com.drew.imaging.ImageMetadataReader.readMetadata at (Unknown Source)
com.drew.imaging.ImageMetadataReader.readMetadata at (Unknown Source)

Please provide any additional information below.

Attachments:
        adobeJpeg1.jpg  42.8 KB


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
metadata-extrac...@googlecode.com  
View profile  
 More options May 6 2012, 5:48 pm
From: metadata-extrac...@googlecode.com
Date: Sun, 06 May 2012 21:48:00 +0000
Subject: Re: Issue 41 in metadata-extractor: error jpg exif

Comment #1 on issue 41 by dsmitt...@gmail.com: error jpg exif
http://code.google.com/p/metadata-extractor/issues/detail?id=41

Dunno how you do it in netbeans but somehow make sure you have the second  
xmp.jar from the src zip in your active libraries


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »