Re: ImageJ File->Import->URL Issue, any help appreciated

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/ImageJ-File-Import-URL-Issue-any-help-appreciated-tp3693747p3693749.html

Hi,

On Tue, 10 Feb 2009, Rob Lewis wrote:

> While trying to import a dicom file from a URL, (Through the UI or
> programatically), i receive the following error in a dialog box named 'Dicom
> Decoder':
>
> java.io.IOException
> Resetting to invalid mark

Typically, this error occurs when reading from a stream (which is the
result of opening a URL) but trying to go back to the beginning somewhere
in the middle.

I do not have any experience with the DICOM format, but I imagine that you
have that problem here, and that you need the file locally.  Or you need
to inspect the source (you did not mention which plugin, if any, you use
to open the files) to find out where it tries to "seek" (that is "going
back in a file" is called in computer speak).

Ciao,
Dscho