it.geosolutions.imageio.plugins.png
Class RasterByteRepackSingleBandProvider

java.lang.Object
  extended by it.geosolutions.imageio.plugins.png.AbstractScanlineProvider
      extended by it.geosolutions.imageio.plugins.png.RasterByteRepackSingleBandProvider
All Implemented Interfaces:
ar.com.hjg.pngj.IImageLine, ScanlineProvider

public final class RasterByteRepackSingleBandProvider
extends AbstractScanlineProvider

A scanline provider that packs more than one pixel per output byte

Author:
Andrea Aime - GeoSolutions

Field Summary
 
Fields inherited from class it.geosolutions.imageio.plugins.png.AbstractScanlineProvider
bitDepth, currentRow, cursor, height, palette, scanlineLength, width
 
Constructor Summary
RasterByteRepackSingleBandProvider(Raster raster, int bitDepth, int scanlineLength)
           
RasterByteRepackSingleBandProvider(Raster raster, int bitDepth, int scanlineLength, IndexColorModel palette)
           
 
Method Summary
 void next(byte[] row, int offset, int length)
          The next scanline, or throws an exception if we got past the end of the image
 
Methods inherited from class it.geosolutions.imageio.plugins.png.AbstractScanlineProvider
endReadFromPngRaw, getBitDepth, getHeight, getPalette, getScanlineLength, getWidth, readFromPngRaw, writeToPngRaw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterByteRepackSingleBandProvider

public RasterByteRepackSingleBandProvider(Raster raster,
                                          int bitDepth,
                                          int scanlineLength)

RasterByteRepackSingleBandProvider

public RasterByteRepackSingleBandProvider(Raster raster,
                                          int bitDepth,
                                          int scanlineLength,
                                          IndexColorModel palette)
Method Detail

next

public void next(byte[] row,
                 int offset,
                 int length)
Description copied from interface: ScanlineProvider
The next scanline, or throws an exception if we got past the end of the image



Copyright © 2006–2014 GeoSolutions. All rights reserved.