[ome-devel] Thumbnails

Matthias Dunda Matthias.Dunda at carus-it.com
Tue Aug 26 08:20:09 BST 2008


Hi all,

I finally generated thumbnails for a Dataset:

        List<Image> imgs = OmeroTools.getImagesForDataset(conn, 178);

                for ( Image i : imgs){
                        Pixels p = i.getDefaultPixels();
                        System.out.println("Generated thumb for pix id "+p.getId());
                        ThumbnailStore tstore = conn.getServiceFactory().createThumbnailService();
                        tstore.setPixelsId(p.getId());
                        tstore.createThumbnail(160,120);
                }

This worked, /OMERO/Thumbnails got populated, database entries exist...

I was finally hoping, that this would speed up loading the pics in the Browser but it doesn't.

So first question: what are thumbnails generally good for? where do they come into play?

Second question: is there a way to speed up the loading in the browser view?

Third question: what is an appropriate size for the thumbs?

Last question (remaining from my last post): what is the method createThumbnails() good for? So far it did nothing for me.

Cheers
Matthias

--
Matthias Dunda, Dipl.-Inform.
c.a.r.u.s. IT AG
Phone: (040) 5 14 35-0, intl.: +49.40.5 14 35-0



More information about the ome-devel mailing list