public class PngWriter extends Object
| Constructor | Description |
|---|---|
PngWriter(OutputStream outp) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
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) |
public PngWriter(OutputStream outp) throws IOException
IOExceptionpublic void writeHeader(int width,
int height,
int bitDepth,
int colorType)
throws IOException
IOExceptionpublic void writeEnd()
throws IOException
IOExceptionpublic void writeData(byte[] data,
int stride)
throws IOException
IOExceptionpublic void writePalette(byte[] data)
throws IOException
IOExceptionpublic void writeIccProfile(byte[] data)
throws IOException
IOExceptionpublic void outputInt(int n)
throws IOException
IOExceptionpublic static void outputInt(int n,
OutputStream s)
throws IOException
IOExceptionpublic void writeChunk(byte[] chunkType,
byte[] data)
throws IOException
IOExceptionCopyright © 2018. All rights reserved.