Package com.itextpdf.io.codec
Class PngWriter
java.lang.Object
com.itextpdf.io.codec.PngWriter
Writes a PNG image.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
outputInt
(int n) static void
outputInt
(int n, OutputStream s) void
writeChunk
(byte[] chunkType, byte[] data) void
writeData
(byte[] data, int stride) void
writeEnd()
void
writeHeader
(int width, int height, int bitDepth, int colorType) void
writeIccProfile
(byte[] data) void
writePalette
(byte[] data)
-
Constructor Details
-
PngWriter
- Throws:
-
IOException
-
-
Method Details
-
writeHeader
- Throws:
-
IOException
-
writeEnd
- Throws:
-
IOException
-
writeData
- Throws:
-
IOException
-
writePalette
- Throws:
-
IOException
-
writeIccProfile
- Throws:
-
IOException
-
outputInt
- Throws:
-
IOException
-
outputInt
- Throws:
-
IOException
-
writeChunk
- Throws:
-
IOException
-