Ticket #46 (closed enhancement: moved)

Opened 13 years ago

Last modified 6 years ago

Thumbnailing support should use Bio-Formats

Reported by: curtis Owned by: curtis
Priority: critical Milestone: visbio4.0
Component: visbio Severity: serious
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by curtis) (diff)

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:1 Changed 13 years ago by curtis

  • Milestone set to visbio4.0

comment:2 Changed 13 years ago by curtis

  • Description modified (diff)

comment:3 Changed 13 years ago by curtis

  • Component changed from bio-formats to visbio

comment:4 Changed 6 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
  • Description modified (diff)
  • Severity set to serious
Note: See TracTickets for help on using tickets.