class JPEGTileDecoder.TileConsumer extends Object implements ImageConsumer
Modifier and Type | Field and Description |
---|---|
private int |
height |
private int |
hh |
private ImageProducer |
producer |
private int |
width |
private int |
yy |
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
Constructor and Description |
---|
JPEGTileDecoder.TileConsumer(ImageProducer producer) |
JPEGTileDecoder.TileConsumer(ImageProducer producer,
int y,
int h) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getWidth() |
void |
imageComplete(int status) |
void |
setColorModel(ColorModel model) |
void |
setDimensions(int width,
int height) |
void |
setHints(int hintFlags) |
void |
setPixels(int x,
int y,
int w,
int h,
ColorModel model,
byte[] pixels,
int off,
int scanSize) |
void |
setPixels(int x,
int y,
int w,
int h,
ColorModel model,
int[] pixels,
int off,
int scanSize) |
void |
setProperties(Hashtable props) |
private int width
private int height
private ImageProducer producer
private int yy
private int hh
public JPEGTileDecoder.TileConsumer(ImageProducer producer)
public JPEGTileDecoder.TileConsumer(ImageProducer producer, int y, int h)
public int getWidth()
public int getHeight()
public void imageComplete(int status)
imageComplete
in interface ImageConsumer
public void setDimensions(int width, int height)
setDimensions
in interface ImageConsumer
public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scanSize)
setPixels
in interface ImageConsumer
public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scanSize)
setPixels
in interface ImageConsumer
public void setProperties(Hashtable props)
setProperties
in interface ImageConsumer
public void setColorModel(ColorModel model)
setColorModel
in interface ImageConsumer
public void setHints(int hintFlags)
setHints
in interface ImageConsumer
Copyright © 2015 Open Microscopy Environment