[ome-devel] Storing thumbnails during import

Matthias Dunda Matthias.Dunda at carus-it.com
Fri Aug 22 13:56:31 BST 2008


> > Is there a way in OMERO Beta-2.3 to generate and store thumbnails
> > directly during the import?
> >
> > We're using the OMEROMetadataStore, OMEROWrapper and ImportLibrary...
>
> Yes, it's the following method:
>
> public void createThumbnail(Integer sizeX, Integer sizeY);

So is it just:

Pixels p;
ThumbnailStore tstore = ...createThumbnailService();
tstore.setPixelsId(p.getId());
tstore.createThumbnail(x,y);

???

What's an appropriate size for x,y?

How about createThumbnails()?

Thanks
Matthias



More information about the ome-devel mailing list