NextApp Echo
App Container 1.0.5

nextapp.echoservlet.image
Class PngEncoder.IntTranslator

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

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

Translates integer-based rasters.


Field Summary
(package private)  int channel
           
(package private)  int column
           
(package private)  int[] inputPixelQueue
           
 
Constructor Summary
private PngEncoder.IntTranslator()
           
 
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

inputPixelQueue

int[] inputPixelQueue

column

int column

channel

int channel
Constructor Detail

PngEncoder.IntTranslator

private PngEncoder.IntTranslator()
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