|
Re: 16-bit grayscale from URL?: msg#00179java.imagej
From what I've seen of the Image I/O plugins, they work on Files. I am trying to read a 16-bit TIFF through a URL that doesn't end in .tif. I can download an equivalent Image from the web site, and it displays fine if I pass it as a argument to ImageJ. I believe I am setting the Content-Type to image/tif I looked through the code, and it looks like it is looking for .tif or .TIF at the end of the URL. So if I change my URL from http://hostname/dv/no_handler/Archive_Image.html?image_id=130267&type=tif to http://hostname/dv/no_handler/Archive_Image.html?image_id=130267&type=.tif things start working. I guess my request would be that ImageJ look at the Content-Type instead of relying on an extension in the URL. There are several Content-Types for TIFF. The change would be in Opener.java, in the openURL method. As it is, my ImageJ applet hanging, and I have to kill it and my browser. I will pursue adding the . to my code John At 09:08 AM 11/18/2005, Wayne Rasband wrote: Hmm. I am having trouble with TIFF. I don't know
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Plugin for WYKO .OPD files, S Adam Hacking |
|---|---|
| Next by Date: | FV1000 plugin, Kay Schneitz |
| Previous by Thread: | Re: 16-bit grayscale from URL?, Wayne Rasband |
| Next by Thread: | Re: 16-bit grayscale from URL?, Jeff Brandenburg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |