Ticket #168 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

LegacyQTWriter is broken

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


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 13 years ago by melissa

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

Fixed in r3190.

Note: See TracTickets for help on using tickets.