Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10972 (closed)

Opened 11 years ago

Closed 11 years ago

Bug: Reading floating point TIFF images can fail

Reported by: rleigh Owned by: mlinkert
Priority: minor Milestone: Unscheduled
Component: Bio-Formats Version: 4.4.8
Keywords: n.a. Cc: dennis@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

https://www.openmicroscopy.org/qa2/qa2/qa/feedback/7270/

Neither of these two floating point images import correctly using the ImageJ importer; this results in corrupted/banded images.

Only 800.TIF is viewable using ImageInfo?; 700.TIF results in the exception below. The metadata for the two is identical.

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 5177265
	at java.awt.image.ComponentColorModel.getRGBComponent(ComponentColorModel.java:886)
	at java.awt.image.ComponentColorModel.getRed(ComponentColorModel.java:927)
	at java.awt.image.ComponentColorModel.getRGB(ComponentColorModel.java:1118)
	at sun.java2d.loops.OpaqueCopyAnyToArgb.Blit(CustomComponent.java:127)
	at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:542)
	at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:523)
	at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:171)
	at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:186)
	at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:930)
	at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:553)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:54)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:985)
	at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3280)
	at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3265)
	at javax.swing.ImageIcon.paintIcon(ImageIcon.java:388)
	at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:150)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:153)
	at javax.swing.JComponent.paintComponent(JComponent.java:760)
	at javax.swing.JComponent.paint(JComponent.java:1037)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JViewport.paint(JViewport.java:795)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:34)
	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
	at java.awt.Container.paint(Container.java:1791)
	at java.awt.Window.paint(Window.java:3390)
	at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
	at sun.awt.RepaintArea.paint(RepaintArea.java:241)
	at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
	at apple.awt.CWindow.handleEvent(CWindow.java:545)
	at java.awt.Component.dispatchEventImpl(Component.java:4820)
	at java.awt.Container.dispatchEventImpl(Container.java:2141)
	at java.awt.Window.dispatchEventImpl(Window.java:2489)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:669)
	at java.awt.EventQueue$2.run(EventQueue.java:667)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:683)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)}}}

Change History (2)

comment:1 Changed 11 years ago by rleigh

  • Component changed from from QA to Bio-Formats
  • Owner changed from mlinkert-x to mlinkert
  • Reporter changed from omero-qa to rleigh

comment:2 Changed 11 years ago by mlinkert

  • Resolution set to duplicate
  • Status changed from new to closed
  • Version set to 4.4.8

Duplicate of #11335; everyone CC'd on this ticket is now CC'd on #11335.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.75104 sec.)

We're Hiring!