ar.com.hjg.pngj.lossy
Class PngWriterLossy

java.lang.Object
  extended by ar.com.hjg.pngj.PngWriter
      extended by ar.com.hjg.pngj.lossy.PngWriterLossy

public class PngWriterLossy
extends PngWriter

Writes a PNG image, line by line, with lossy compression EXPERIMENTAL - not yet recommended for use


Field Summary
static int LOSSY_DEFAULT
           
 LossyHelper lossyHelper
           
static boolean PRINT_WARNINGS
           
 
Fields inherited from class ar.com.hjg.pngj.PngWriter
imgInfo
 
Constructor Summary
PngWriterLossy(OutputStream outputStream, ImageInfo imgInfo)
           
PngWriterLossy(OutputStream outputStream, ImageInfo imgInfo, String filenameOrDescription)
           
 
Method Summary
 LossyHelper getLossyHelper()
           
 void setLossy(int lossy)
           
 
Methods inherited from class ar.com.hjg.pngj.PngWriter
computeCompressionRatio, copyChunksFirst, copyChunksLast, end, getChunkList, getFilename, getMetadata, setCompLevel, setDeflaterStrategy, setFilterType, setIdatMaxSize, setShouldCloseStream, writeRow, writeRow, writeRow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOSSY_DEFAULT

public static final int LOSSY_DEFAULT
See Also:
Constant Field Values

lossyHelper

public LossyHelper lossyHelper

PRINT_WARNINGS

public static boolean PRINT_WARNINGS
Constructor Detail

PngWriterLossy

public PngWriterLossy(OutputStream outputStream,
                      ImageInfo imgInfo)

PngWriterLossy

public PngWriterLossy(OutputStream outputStream,
                      ImageInfo imgInfo,
                      String filenameOrDescription)
Method Detail

getLossyHelper

public LossyHelper getLossyHelper()

setLossy

public void setLossy(int lossy)