public class WriteExifMetadataExample extends Object
| Constructor and Description |
|---|
WriteExifMetadataExample() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeExifMetadata(File jpegImageFile,
File dst)
This example illustrates how to add/update EXIF metadata in a JPEG file.
|
void |
removeExifMetadata(File jpegImageFile,
File dst) |
void |
removeExifTag(File jpegImageFile,
File dst)
This example illustrates how to remove a tag (if present) from EXIF
metadata in a JPEG file.
|
void |
setExifGPSTag(File jpegImageFile,
File dst)
This example illustrates how to set the GPS values in JPEG EXIF metadata.
|
public void removeExifMetadata(File jpegImageFile, File dst) throws IOException, org.apache.sanselan.ImageReadException, org.apache.sanselan.ImageWriteException
IOExceptionorg.apache.sanselan.ImageReadExceptionorg.apache.sanselan.ImageWriteExceptionpublic void changeExifMetadata(File jpegImageFile, File dst) throws IOException, org.apache.sanselan.ImageReadException, org.apache.sanselan.ImageWriteException
jpegImageFile - A source image file.dst - The output file.IOExceptionorg.apache.sanselan.ImageReadExceptionorg.apache.sanselan.ImageWriteExceptionpublic void removeExifTag(File jpegImageFile, File dst) throws IOException, org.apache.sanselan.ImageReadException, org.apache.sanselan.ImageWriteException
jpegImageFile - A source image file.dst - The output file.IOExceptionorg.apache.sanselan.ImageReadExceptionorg.apache.sanselan.ImageWriteExceptionpublic void setExifGPSTag(File jpegImageFile, File dst) throws IOException, org.apache.sanselan.ImageReadException, org.apache.sanselan.ImageWriteException
jpegImageFile - A source image file.dst - The output file.IOExceptionorg.apache.sanselan.ImageReadExceptionorg.apache.sanselan.ImageWriteExceptionCopyright © 2007-2012. All Rights Reserved.