Class PcxWriter
java.lang.Object
org.apache.commons.imaging.formats.pcx.PcxWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final PixelDensityprivate final intprivate final RleWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteImage(BufferedImage src, OutputStream os) private voidwritePixels(BufferedImage src, int bitDepth, int planes, int bytesPerLine, SimplePalette palette, AbstractBinaryOutputStream bos) private voidwritePixels32(BufferedImage src, int bytesPerLine, AbstractBinaryOutputStream bos)
-
Field Details
-
encoding
private final int encoding -
bitDepthWanted
private final int bitDepthWanted -
planesWanted
private final int planesWanted -
pixelDensity
-
rleWriter
-
-
Constructor Details
-
PcxWriter
PcxWriter(PcxImagingParameters params)
-
-
Method Details
-
writeImage
- Throws:
IOException
-
writePixels
private void writePixels(BufferedImage src, int bitDepth, int planes, int bytesPerLine, SimplePalette palette, AbstractBinaryOutputStream bos) throws IOException - Throws:
IOException
-
writePixels32
private void writePixels32(BufferedImage src, int bytesPerLine, AbstractBinaryOutputStream bos) throws IOException - Throws:
IOException
-