Class TiffOutputSet
java.lang.Object
org.apache.commons.imaging.formats.tiff.write.TiffOutputSet
- All Implemented Interfaces:
- Iterable<TiffOutputDirectory>
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Field Details- 
byteOrder
 
- 
- 
Constructor Details- 
TiffOutputSetpublic 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
 
- 
getOutputItemsprotected 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 interface- Iterable<TiffOutputDirectory>
 
- 
removeField
- 
removeField
- 
setGpsInDegreesA 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
 
-