Package com.itextpdf.io.codec
Class TiffWriter
java.lang.Object
com.itextpdf.io.codec.TiffWriter
Exports images as TIFF.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Inner class containing info about an ASCII field.static class
Inner class class containing information about a field.static class
Inner class containing info about a field.static class
Inner class containing info about a field.static class
Inner class containing info about a field.static class
Inner class containing info about a field.static class
Inner class containing info about a field.static class
Inner class containing info about a field. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(TiffWriter.FieldBase field) static void
compressLZW
(OutputStream stream, int predictor, byte[] b, int height, int samplesPerPixel, int stride) int
void
writeFile
(OutputStream stream) static void
writeLong
(int v, OutputStream stream) static void
writeShort
(int v, OutputStream stream)
-
Constructor Details
-
TiffWriter
public TiffWriter()
-
-
Method Details
-
addField
-
getIfdSize
public int getIfdSize() -
writeFile
- Throws:
-
IOException
-
writeShort
- Throws:
-
IOException
-
writeLong
- Throws:
-
IOException
-
compressLZW
public static void compressLZW(OutputStream stream, int predictor, byte[] b, int height, int samplesPerPixel, int stride) throws IOException - Throws:
-
IOException
-