NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #393 (closed defect: fixed)

Opened 2009-05-08T07:46:01-05:00

Last modified 2009-05-08T11:11:21-05:00

openThumbImage throws an exception for int16 images

Reported by: melissa Owned by: melissa
Priority: major Milestone: bio-formats-4.1
Component: bio-formats Severity: serious
Keywords: Cc:
Blocked By: Blocking:


showinf -thumbs data/ics/mathieu/Green-original-ics2.ics

produces this exception:

Exception in thread "main" java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width = 128 height = 97 #numDataElements 1 is incompatible with ColorModel ColorModel: #pixelBits = 16 numComponents = 1 color space = java.awt.color.ICC_ColorSpace@f82ab4 transparency = 1 has alpha = false isAlphaPre = false
	at java.awt.image.BufferedImage.<init (
	at loci.formats.AWTImageTools.makeBuffered(
	at loci.formats.AWTImageTools.scale(
	at loci.formats.FormatReader.openThumbImage(
	at loci.formats.ImageReader.openThumbImage(

Change History

comment:1 Changed 2009-05-08T11:11:21-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed

(In [5096]) Allow int16 images to be scaled. Closes #393.