public class TIFFOutputStream extends OutputStream
TIFFOutputStream.
References:
TIFF TM Revision 6.0. Final — June 3, 1992. Adobe Systems Inc. http://www.exif.org/specifications.html
| Constructor and Description |
|---|
TIFFOutputStream(ImageOutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish() |
ByteOrder |
getByteOrder() |
long |
getFirstIFDOffset() |
long |
getStreamPosition() |
void |
seek(long position) |
void |
setByteOrder(ByteOrder bo) |
void |
setFirstIFDOffset(long newValue) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeIFD(IFD ifd,
long nextIFD) |
void |
writeLONG(long v)
Writes a 32-bit unsigned integer.
|
void |
writeSHORT(int v)
Writes a 12-bit unsigned integer.
|
flush, writepublic TIFFOutputStream(ImageOutputStream out) throws IOException
IOExceptionpublic void setByteOrder(ByteOrder bo)
public ByteOrder getByteOrder()
public long getStreamPosition()
throws IOException
IOExceptionpublic void seek(long position)
throws IOException
IOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void writeIFD(IFD ifd, long nextIFD) throws IOException
IOExceptionpublic long getFirstIFDOffset()
public void setFirstIFDOffset(long newValue)
public void finish()
throws IOException
IOExceptionpublic void writeLONG(long v)
throws IOException
IOExceptionpublic void writeSHORT(int v)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2014. All Rights Reserved.