Ticket #46 (closed enhancement: moved)
Opened 2007-03-19T13:05:31-05:00
Last modified 2014-01-09T13:11:48-06:00
Thumbnailing support should use Bio-Formats
Reported by: | curtis | Owned by: | curtis |
---|---|---|---|
Priority: | critical | Milestone: |
|
Component: | visbio | Severity: | serious |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by curtis)
Going along with the idea that VisBio should lean on Bio-Formats more thoroughly (ticket #35), VisBio's thumbnailing logic should be mostly removed and delegated to Bio-Formats with its IFormatReader.openThumbImage, IFormatReader.getThumbSizeX and IFormatReader.getThumbSizeY methods. Though Bio-Formats may need to allow configuration of thumbnail size (it currently does not do so), it would probably be easier than VisBio's current scheme.
VisBio would still need to support creating thumbnails from full-resolution data, for derivative transforms whose thumbnails cannot be "stolen" or adapted from those of the parent object, but VisBio can lean on the Bio-Formats ImageTools utility class to do so.
Thumbnail cache files on disk should also use Bio-Formats rather than Java serialization, with the most efficient format possible. We could use TiffWriter, or if that ends up being too slow we could implement a RawWriter that dumps raw pixels from a BufferedImage (optionally preceded by a tiny header, maybe).
Change History
comment:4 Changed 2014-01-09T13:11:48-06:00 by curtis
- Status changed from new to closed
- Resolution set to moved
- Description modified
- Severity set to serious