Task #10887 (closed)
Opened 11 years ago
Closed 11 years ago
Bug: Bioformats fails to open PNGs created by ImageMagick
Reported by: | spli | Owned by: | mlinkert |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Bio-Formats | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
OMERO import fails, as does showinf. This used to work. File attached.
$ convert -size 256x256 -background red -fill white -gravity center -pointsize 144 label:9 test.png $ showinf test.png Checking file format [Animated PNG] Initializing reader Initialization took 0.041s Reading core metadata Filename = test.png Series count = 1 Series #0 : Image count = 1 RGB = false (1) Interleaved = false Indexed = true (true color, 8-bit LUT: 3 x 256) Width = 256 Height = 256 SizeZ = 1 SizeT = 1 SizeC = 1 Thumbnail size = 128 x 128 Endianness = motorola (big) Dimension order = XYCTZ (certain) Pixel type = uint8 Valid bits per pixel = 1 Metadata complete = false Thumbnail series = false ----- Plane #0 <=> Z 0, C 0, T 0 Reading pixel data (0-0) Exception in thread "main" java.lang.IndexOutOfBoundsException at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:146) at loci.formats.in.APNGReader.decode(APNGReader.java:405) at loci.formats.in.APNGReader.decode(APNGReader.java:379) at loci.formats.in.APNGReader.openBytes(APNGReader.java:169) at loci.formats.FormatReader.openBytes(FormatReader.java:781) at loci.formats.ImageReader.openBytes(ImageReader.java:400) at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:305) at loci.formats.gui.BufferedImageReader.openImage(BufferedImageReader.java:94) at loci.formats.tools.ImageInfo.readPixels(ImageInfo.java:778) at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:1004) at loci.formats.tools.ImageInfo.main(ImageInfo.java:1035)
Attachments (1)
Change History (3)
Changed 11 years ago by spli
comment:1 Changed 11 years ago by mlinkert
- Summary changed from Bioformats fails to open PNGs created by ImageMagick to Bug: Bioformats fails to open PNGs created by ImageMagick
comment:2 Changed 11 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Fixed with: https://github.com/openmicroscopy/bioformats/pull/521