Class PcxWriter
java.lang.Object
org.apache.commons.imaging.formats.pcx.PcxWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate PixelDensityprivate 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, BinaryOutputStream bos) private voidwritePixels32(BufferedImage src, int bytesPerLine, BinaryOutputStream bos)
-
Field Details
-
encoding
private int encoding -
bitDepthWanted
private int bitDepthWanted -
planesWanted
private int planesWanted -
pixelDensity
-
rleWriter
-
-
Constructor Details
-
PcxWriter
PcxWriter(Map<String, Object> params) throws ImageWriteException- Throws:
ImageWriteException
-
-
Method Details
-
writeImage
- Throws:
ImageWriteExceptionIOException
-
writePixels
private void writePixels(BufferedImage src, int bitDepth, int planes, int bytesPerLine, SimplePalette palette, BinaryOutputStream bos) throws IOException, ImageWriteException - Throws:
IOExceptionImageWriteException
-
writePixels32
private void writePixels32(BufferedImage src, int bytesPerLine, BinaryOutputStream bos) throws IOException, ImageWriteException - Throws:
IOExceptionImageWriteException
-