public interface LuraWaveService extends SCIFIOService, org.scijava.Optional
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_LICENSE_MSG
Message to display if an invalid LuraWave license code is given.
|
static String |
LICENSE_PROPERTY
System property to check for the LuraWave license code.
|
static String |
NO_LICENSE_MSG
Message to display if no LuraWave license code is given.
|
static String |
NO_LURAWAVE_MSG
Message displayed if the LuraWave LWF decoder library is not found.
|
static String |
STUB_FIELD
Identifying field in stub class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decodeToMemoryGray16(short[] image,
int imageoffset,
int limit,
int quality,
int scale,
int pdx,
int pdy,
int clip_x,
int clip_y,
int clip_w,
int clip_h)
Wraps
com.luratech.lwf.lwfDecoder#decodeToMemoryGray16(short[], int, int, int, int, int, int, int, int, int, int)
. |
void |
decodeToMemoryGray8(byte[] image,
int limit,
int quality,
int scale)
Wraps
com.luratech.lwf.lwfDecoder#decodeToMemoryGray8(byte[], int, int, int)
. |
int |
getHeight()
Wraps
com.luratech.lwf.lwfDecoder#getHeight() |
String |
getLicenseCode()
Retrieves the current license code as a string.
|
int |
getWidth()
Wraps
com.luratech.lwf.lwfDecoder#getWidth() |
void |
initialize(InputStream stream)
Wraps
com.luratech.lwf.lwfDecoder#lwfDecoder(InputStream, String, String)
. |
void |
setLicenseCode(String license)
Overrides the license code to use when initializing the LuraWave decoder.
|
initialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposestatic final String LICENSE_PROPERTY
static final String NO_LURAWAVE_MSG
static final String NO_LICENSE_MSG
static final String INVALID_LICENSE_MSG
static final String STUB_FIELD
void setLicenseCode(String license)
license - String license code.String getLicenseCode()
void initialize(InputStream stream) throws IOException, DependencyException, ServiceException
com.luratech.lwf.lwfDecoder#lwfDecoder(InputStream, String, String)
.IOException - If parsing of the image header fails.DependencyException - If no license code was specified.ServiceException - If the license code is invalid.int getWidth()
com.luratech.lwf.lwfDecoder#getWidth()int getHeight()
com.luratech.lwf.lwfDecoder#getHeight()void decodeToMemoryGray8(byte[] image,
int limit,
int quality,
int scale)
throws ServiceException
com.luratech.lwf.lwfDecoder#decodeToMemoryGray8(byte[], int, int, int)
.ServiceException - If the license code is invalid.void decodeToMemoryGray16(short[] image,
int imageoffset,
int limit,
int quality,
int scale,
int pdx,
int pdy,
int clip_x,
int clip_y,
int clip_w,
int clip_h)
throws ServiceException
com.luratech.lwf.lwfDecoder#decodeToMemoryGray16(short[], int, int, int, int, int, int, int, int, int, int)
.ServiceException - If the license code is invalid.Copyright © 2011–2026 SCIFIO. All rights reserved.