public class JPEGTurboServiceImpl extends Object implements JPEGTurboService
Constructor and Description |
---|
JPEGTurboServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long[] |
getRestartMarkers() |
byte[] |
getTile(byte[] buf,
int xCoordinate,
int yCoordinate,
int width,
int height) |
byte[] |
getTile(int tileX,
int tileY) |
void |
initialize(RandomAccessInputStream jpeg,
int width,
int height) |
void |
setRestartMarkers(long[] markers) |
public void setRestartMarkers(long[] markers)
setRestartMarkers
in interface JPEGTurboService
public long[] getRestartMarkers()
getRestartMarkers
in interface JPEGTurboService
public void initialize(RandomAccessInputStream jpeg, int width, int height) throws ServiceException, IOException
initialize
in interface JPEGTurboService
ServiceException
IOException
public byte[] getTile(byte[] buf, int xCoordinate, int yCoordinate, int width, int height) throws IOException
getTile
in interface JPEGTurboService
IOException
public byte[] getTile(int tileX, int tileY) throws IOException
getTile
in interface JPEGTurboService
IOException
public void close() throws IOException
close
in interface JPEGTurboService
IOException
Copyright © 2014 Open Microscopy Environment