public interface ThumbnailService
Modifier and Type | Method and Description |
---|---|
byte[] |
getThumbnail(long pixelsId,
omero.RInt sizeX,
omero.RInt sizeY)
Get the thumbnail of the image.
|
byte[] |
getThumbnailByLongestSide(long pixelsId,
omero.RInt size)
Get the thumbnail of the image, maintain aspect ratio.
|
Map<Long,byte[]> |
getThumbnailByLongestSideSet(omero.RInt size,
List<Long> pixelsIds)
Get a set of thumbnails, maintaining aspect ratio.
|
Map<Long,byte[]> |
getThumbnailSet(omero.RInt sizeX,
omero.RInt sizeY,
List<Long> pixelsIds)
Get a set of thumbnails.
|
void |
setRenderingDefId(long pixelsId,
long renderingDefId)
Set the rendering def from the default to another.
|
void setRenderingDefId(long pixelsId, long renderingDefId) throws omero.ServerError
pixelsId
- for pixelsIdrenderingDefId
- see above.DSOutOfServiceException
omero.ServerError
byte[] getThumbnail(long pixelsId, omero.RInt sizeX, omero.RInt sizeY) throws omero.ServerError
pixelsId
- for pixelsIdsizeX
- size of thumbnail.sizeY
- size of thumbnail.DSOutOfServiceException
omero.ServerError
Map<Long,byte[]> getThumbnailSet(omero.RInt sizeX, omero.RInt sizeY, List<Long> pixelsIds) throws omero.ServerError
sizeX
- size of thumbnail.sizeY
- size of thumbnail.pixelsIds
- list of ids.DSOutOfServiceException
omero.ServerError
Map<Long,byte[]> getThumbnailByLongestSideSet(omero.RInt size, List<Long> pixelsIds) throws omero.ServerError
size
- size of thumbnail.pixelsIds
- list of ids.DSOutOfServiceException
omero.ServerError
byte[] getThumbnailByLongestSide(long pixelsId, omero.RInt size) throws omero.ServerError
pixelsId
- for pixelsIdsize
- size of thumbnail.DSOutOfServiceException
omero.ServerError
Version: 4.4.12-ice34-b116
Copyright © 2014 The University of Dundee & Open Microscopy Environment. All Rights Reserved.