Class WebPChunkExif
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunk
org.apache.commons.imaging.formats.webp.chunks.WebPChunkExif
Exif (metadata) chunk.
 
  0                   1                   2                   3
  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                      ChunkHeader('EXIF')                      |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 :                        Exif Metadata                          :
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 - Since:
- 1.0.0-alpha4
- See Also:
- 
Field SummaryFields inherited from class org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunkbytes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddump(PrintWriter pw, int offset) Print the chunk to the given stream.Methods inherited from class org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunkgetBytes, getChunkSize, getPayloadSize, getType, getTypeDescriptionMethods inherited from class org.apache.commons.imaging.common.BinaryFileParserdebugNumber, debugNumber, getByteOrder, setByteOrder
- 
Constructor Details- 
WebPChunkExifCreate an Exif chunk.- Parameters:
- type- chunk type.
- size- chunk size.
- bytes- chunk data.
- Throws:
- ImagingException- if the chunk data and the size provided do not match.
 
 
- 
- 
Method Details- 
dumpDescription copied from class:AbstractWebPChunkPrint the chunk to the given stream.- Overrides:
- dumpin class- AbstractWebPChunk
- Parameters:
- pw- a stream to write to.
- offset- chunk offset.
- Throws:
- ImagingException- if the image is invalid.
- IOException- if it fails to write to the given stream.
 
 
-