public class JPEGTurboServiceImpl extends java.lang.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, java.io.IOException
initialize in interface JPEGTurboServiceServiceExceptionjava.io.IOExceptionpublic byte[] getTile(byte[] buf,
int xCoordinate,
int yCoordinate,
int width,
int height)
throws java.io.IOException
getTile in interface JPEGTurboServicejava.io.IOExceptionpublic byte[] getTile(int tileX,
int tileY)
throws java.io.IOException
getTile in interface JPEGTurboServicejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface JPEGTurboServicejava.io.IOExceptionCopyright © 2014 Open Microscopy Environment