NextApp Echo
App Container 1.0.5

nextapp.echoservlet.image
Class PngEncoder.ByteTranslator

java.lang.Object
  extended bynextapp.echoservlet.image.PngEncoder.ByteTranslator
All Implemented Interfaces:
PngEncoder.Translator
Enclosing class:
PngEncoder

private class PngEncoder.ByteTranslator
extends java.lang.Object
implements PngEncoder.Translator

Translates byte-based rasters.


Field Summary
(package private)  int channel
           
(package private)  int column
           
(package private)  byte[] inputPixelQueue
           
(package private)  int rowWidth
           
 
Constructor Summary
private PngEncoder.ByteTranslator()
           
 
Method Summary
 void translate(byte[] outputPixelQueue, int row)
          Translates a row of the image into a byte array ordered properly for a PNG image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowWidth

int rowWidth

inputPixelQueue

byte[] inputPixelQueue

column

int column

channel

int channel
Constructor Detail

PngEncoder.ByteTranslator

private PngEncoder.ByteTranslator()
Method Detail

translate

public void translate(byte[] outputPixelQueue,
                      int row)
Description copied from interface: PngEncoder.Translator
Translates a row of the image into a byte array ordered properly for a PNG image.

Specified by:
translate in interface PngEncoder.Translator
Parameters:
outputPixelQueue - The byte array in which to store the translated pixels.
row - The row index of the image to translate.
See Also:
PngEncoder.Translator.translate(byte[], int)

NextApp Echo
App Container 1.0.5