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 JPEGTurboServicepublic long[] getRestartMarkers()
getRestartMarkers in interface JPEGTurboServicepublic void initialize(RandomAccessInputStream jpeg, int width, int height) throws ServiceException, IOException
initialize in interface JPEGTurboServiceServiceExceptionIOExceptionpublic byte[] getTile(byte[] buf,
int xCoordinate,
int yCoordinate,
int width,
int height)
throws IOException
getTile in interface JPEGTurboServiceIOExceptionpublic byte[] getTile(int tileX,
int tileY)
throws IOException
getTile in interface JPEGTurboServiceIOExceptionpublic void close()
throws IOException
close in interface JPEGTurboServiceIOExceptionCopyright © 2014 Open Microscopy Environment