Package loci.formats.services
Interface JPEGTurboService
- All Superinterfaces:
Service
- All Known Implementing Classes:
JPEGTurboServiceImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()long[]byte[]getTile(byte[] buf, int xCoordinate, int yCoordinate, int width, int height) byte[]getTile(int xTile, int yTile) voidinitialize(RandomAccessInputStream jpeg, int width, int height) booleanvoidsetRestartMarkers(long[] markers)
-
Method Details
-
getRestartMarkers
long[] getRestartMarkers() -
setRestartMarkers
void setRestartMarkers(long[] markers) -
initialize
void initialize(RandomAccessInputStream jpeg, int width, int height) throws ServiceException, IOException - Throws:
ServiceExceptionIOException
-
getTile
byte[] getTile(byte[] buf, int xCoordinate, int yCoordinate, int width, int height) throws IOException - Throws:
IOException
-
getTile
- Throws:
IOException
-
close
- Throws:
IOException
-
isLibraryLoaded
boolean isLibraryLoaded()
-