/** Main method for testing purposes. Tries to read XMP GPS tags from
all files handed as arguments. **/
public static void main(String[] argv) throws Exception{
XMPReader me = new XMPReader();
TrackInterpolator tp = new TrackInterpolator();
for(String f: argv){
File ff = new File(f);
System.out.println(f);
System.out.println(me.readJPEGDimension(ff));
Wpt pt = me.readGPSTag(ff);
if(pt != null){
tp.printWpt(System.out,pt);
}
}
}