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 #168 (closed defect: fixed)

Opened 2007-08-30T15:00:49-05:00

Last modified 2007-09-21T10:07:25-05:00

LegacyQTWriter is broken

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

Description

Using ImageJ to save to a codec other than Uncompressed or Animation results in the following exception:

java.lang.ClassCastException: java.lang.Integer
	at loci.formats.out.LegacyQTWriter.saveImage(LegacyQTWriter.java:222)
	at loci.formats.out.QTWriter.saveImage(QTWriter.java:225)
	at loci.plugins.Exporter.run(Exporter.java:166)
	at loci.plugins.LociExporter.run(LociExporter.java:69)
	at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:243)
	at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:102)
	at ij.IJ.runUserPlugIn(IJ.java:160)
	at ij.IJ.runPlugIn(IJ.java:124)
	at ij.Executer.runCommand(Executer.java:95)
	at ij.Executer.run(Executer.java:49)
	at java.lang.Thread.run(Thread.java:613)

I strongly suggest adapting the code from ImageJ's QTJava-based QuickTime writer, which works, rather than attempting to debug this problem as-is.

Change History

comment:1 Changed 2007-09-21T10:07:25-05:00 by melissa

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

Fixed in r3190.