NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #851 (closed defect: duplicate)

Opened 2011-10-31T14:25:48-05:00

Last modified 2012-05-18T12:24:19-05:00

Drag and Drop unsupported image file results in exception

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b2-bugfixes
Component: I/O Version:
Severity: serious Keywords:
Cc: Blocked By:


Drag and drop has been implemented which allows one to drop a file from Finder onto the status area or toolbar area which will then be opened by IJ2.

(note this bug might have a duplicate ticket - I thought for sure I had reported it)

DnD works fairly well but if you drag some unsupported type (such as a PDF) you get an exception in the console window:

Caused by: loci.formats.UnknownFormatException: Unknown file format: /Users/bdezonia/Desktop/pay-employee-withholding.pdf

at loci.formats.ImageReader.getReader(
at loci.formats.ImageReader.setId(
at loci.formats.ReaderWrapper.setId(
at loci.formats.ChannelFiller.setId(
at loci.formats.ReaderWrapper.setId(
at loci.formats.ChannelSeparator.setId(
at loci.formats.ReaderWrapper.setId(

Change History

comment:1 Changed 2011-11-02T12:43:36-05:00 by bdezonia

This bug should be addressed when ticket #860 is resolved. Suspending until then.

comment:2 Changed 2011-11-02T12:45:12-05:00 by bdezonia

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

comment:3 Changed 2012-02-26T21:54:51-06:00 by curtis

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

Duplicate of #846.

comment:4 Changed 2012-05-18T12:24:19-05:00 by bdezonia

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta2