@Override
public Date readOriginalTime(File jpeg) throws IOException, ParseException{
try{
final TiffImageMetadata exif = SanselanExifReader.getExif(jpeg);
String dateString = (String) exif.findField(TiffConstants.EXIF_TAG_DATE_TIME_ORIGINAL).getValue();
//interpret the dateString as an UTC dateTime value
return parseExifDate(dateString);
} catch (ImageReadException irx){
throw toIOException(irx, jpeg);
} catch (ImageWriteException iwx){