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 TypeMethodDescriptionvoid
addDirectory
(TiffOutputDirectory directory) void
dump()
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) boolean
isEmpty()
iterator()
void
removeField
(int tag) void
removeField
(TagInfo tagInfo) void
setGpsInDegrees
(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, wait
Methods 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:
iterator
in 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
-