Package loci.formats.services
Class JPEGTurboServiceImpl
java.lang.Object
loci.formats.services.JPEGTurboServiceImpl
- All Implemented Interfaces:
Service,JPEGTurboService
Based upon the NDPI to OME-TIFF converter by Matthias Baldauf:
http://matthias-baldauf.at/software/ndpi_converter/
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()long[]byte[]getTile(byte[] buf, int xCoordinate, int yCoordinate, int width, int height) byte[]getTile(int tileX, int tileY) voidinitialize(RandomAccessInputStream jpeg, int width, int height) booleanvoidsetRestartMarkers(long[] markers)
-
Constructor Details
-
JPEGTurboServiceImpl
public JPEGTurboServiceImpl()
-
-
Method Details
-
setRestartMarkers
public void setRestartMarkers(long[] markers) - Specified by:
setRestartMarkersin interfaceJPEGTurboService
-
getRestartMarkers
public long[] getRestartMarkers()- Specified by:
getRestartMarkersin interfaceJPEGTurboService
-
initialize
public void initialize(RandomAccessInputStream jpeg, int width, int height) throws ServiceException, IOException - Specified by:
initializein interfaceJPEGTurboService- Throws:
ServiceExceptionIOException
-
getTile
public byte[] getTile(byte[] buf, int xCoordinate, int yCoordinate, int width, int height) throws IOException - Specified by:
getTilein interfaceJPEGTurboService- Throws:
IOException
-
getTile
- Specified by:
getTilein interfaceJPEGTurboService- Throws:
IOException
-
close
- Specified by:
closein interfaceJPEGTurboService- Throws:
IOException
-
isLibraryLoaded
public boolean isLibraryLoaded()- Specified by:
isLibraryLoadedin interfaceJPEGTurboService
-