Class TiffOutputSet
java.lang.Object
org.apache.commons.imaging.formats.tiff.write.TiffOutputSet
- All Implemented Interfaces:
Iterable<TiffOutputDirectory>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDirectory(TiffOutputDirectory directory) voiddump()findDirectory(int directoryType) findField(int tag) protected List<org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem> getOutputItems(org.apache.commons.imaging.formats.tiff.write.TiffOutputSummary outputSummary) booleanisEmpty()iterator()voidremoveField(int tag) voidremoveField(TagInfo tagInfo) voidsetGpsInDegrees(double longitude, double latitude) A convenience method to update GPS values in EXIF metadata.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
byteOrder
-
-
Constructor Details
-
TiffOutputSet
public TiffOutputSet() -
TiffOutputSet
-
-
Method Details
-
addDirectory
- Throws:
ImagingException
-
addExifDirectory
- Throws:
ImagingException
-
addGpsDirectory
- Throws:
ImagingException
-
addInteroperabilityDirectory
- Throws:
ImagingException
-
addRootDirectory
- Throws:
ImagingException
-
dump
-
findDirectory
-
findField
-
findField
-
getDirectories
-
getExifDirectory
-
getGpsDirectory
-
getInteroperabilityDirectory
-
getOrCreateExifDirectory
- Throws:
ImagingException
-
getOrCreateGpsDirectory
- Throws:
ImagingException
-
getOrCreateRootDirectory
- Throws:
ImagingException
-
getOutputItems
protected List<org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem> getOutputItems(org.apache.commons.imaging.formats.tiff.write.TiffOutputSummary outputSummary) throws ImagingException - Throws:
ImagingException
-
getRootDirectory
-
isEmpty
-
iterator
- Specified by:
iteratorin interfaceIterable<TiffOutputDirectory>
-
removeField
-
removeField
-
setGpsInDegrees
A convenience method to update GPS values in EXIF metadata.- Parameters:
longitude- Longitude in degrees E, negative values are W.latitude- latitude in degrees N, negative values are S.- Throws:
ImagingException- if it fails to write the new data to the GPS directory
-
toString
-
toString
-