Class PcxWriter
- java.lang.Object
-
- org.apache.commons.imaging.formats.pcx.PcxWriter
-
final class PcxWriter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private intbitDepthWantedprivate intencodingprivate PixelDensitypixelDensityprivate intplanesWantedprivate RleWriterrleWriter
-
Constructor Summary
Constructors Constructor Description PcxWriter(PcxImagingParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteImage(java.awt.image.BufferedImage src, java.io.OutputStream os)private voidwritePixels(java.awt.image.BufferedImage src, int bitDepth, int planes, int bytesPerLine, SimplePalette palette, AbstractBinaryOutputStream bos)private voidwritePixels32(java.awt.image.BufferedImage src, int bytesPerLine, AbstractBinaryOutputStream bos)
-
-
-
Field Detail
-
encoding
private final int encoding
-
bitDepthWanted
private final int bitDepthWanted
-
planesWanted
private final int planesWanted
-
pixelDensity
private final PixelDensity pixelDensity
-
rleWriter
private final RleWriter rleWriter
-
-
Constructor Detail
-
PcxWriter
PcxWriter(PcxImagingParameters params)
-
-
Method Detail
-
writeImage
public void writeImage(java.awt.image.BufferedImage src, java.io.OutputStream os) throws java.io.IOException- Throws:
java.io.IOException
-
writePixels
private void writePixels(java.awt.image.BufferedImage src, int bitDepth, int planes, int bytesPerLine, SimplePalette palette, AbstractBinaryOutputStream bos) throws java.io.IOException- Throws:
java.io.IOException
-
writePixels32
private void writePixels32(java.awt.image.BufferedImage src, int bytesPerLine, AbstractBinaryOutputStream bos) throws java.io.IOException- Throws:
java.io.IOException
-
-