@Override
public void write(File file) throws MetaDataErrorException, IOException,
FileTypeNotSupportedException {
/* reject picture if its type is not JPEG */
if (!new PictureFilter().accept(file)) {
throw new FileTypeNotSupportedException("the file type of "
+ file.getAbsolutePath()
+ " is not supported for writing EXIF data");
}
logger