Ticket #316 (closed task: fixed)
Opened 2008-08-18T18:10:00-05:00
Last modified 2008-09-03T10:11:47-05:00
Investigate using non-custom type for BufferedImages
Reported by: | melissa | Owned by: | melissa |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | bio-formats | Severity: | serious |
Keywords: | Cc: | mikhail.kovtun@… | |
Blocked By: | Blocking: |
Description
Right now, Bio-Formats always constructs BufferedImages with the type set to BufferedImage.TYPE_CUSTOM. However, working with BufferedImages of type TYPE_CUSTOM can be very slow. We should investigate constructing images with standard types (TYPE_BYTE_GRAY, TYPE_USHORT_GRAY, etc.) and only using TYPE_CUSTOM when absolutely necessary.