Ticket #270 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Thumbnail generation fails with some MNG files

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

Description

curtis@monk:~/data/mng/images$ showinf Delta-rgb-a8b.mng -thumbs
Checking file format [Multiple Network Graphics]
Initializing reader
...
Reading pixel data (0-27) Exception in thread "main" java.lang.IllegalArgumentException: Raster BytePackedRaster: width = 32 height = 32 #channels 1 xOff = 0 yOff = 0 is incompatible with ColorModel ColorModel: #pixelBits = 8 numComponents = 1 color space = java.awt.color.ICC_ColorSpace@e2fbeb transparency = 1 has alpha = false isAlphaPre = false
        at java.awt.image.BufferedImage.<init>(BufferedImage.java:616)
        at loci.formats.ImageTools.scale(ImageTools.java:1836)
        at loci.formats.FormatReader.openThumbImage(FormatReader.java:442)
        at loci.formats.ImageReader.openThumbImage(ImageReader.java:368)
        at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:456)
        at loci.formats.tools.ImageInfo.main(ImageInfo.java:623)

Change History

comment:1 Changed 12 years ago by melissa

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.