Wayne,
A million thanks! I was able to get that all working in 20 minutes.
Michael
On 21 Feb 2010, at 04:25, Rasband, Wayne (NIH/NIMH) [E] wrote:
> On Feb 20, 2010, at 7:34 PM, Michael Ellis wrote:
>
>> We have a proprietary file format that is a zip file that contains
>> embedded TIFF
>> files (together with other information) I'd like to write a reader
>> for our file
>> format, but would like to leverage off the existing ImageJ TIFF
>> reading code.
>>
>> Any suggestions how I can open a TIFF image from an InputStream
>> (the source of our TIFF data)?
>>
>> Thanks in anticipation of any help
>
> ImageJ opens ZIP files that contain a single embedded TIFF. Look at
> openZip() method in the Opener class to see how it's done.
>
>
http://rsbweb.nih.gov/ij/developer/source/ij/io/Opener.java.html>
> -wayne
Michael Ellis
Managing Director
Digital Scientific UK Ltd.
http://www.digitalscientific.co.uk[hidden email]
tel: +44(0)1223 329993
fax: +44(0)1223 370040
Sheraton House
Castle Park
Cambridge
CB3 0AX
The contents of this e-mail may be privileged and are confidential.
It may not be disclosed to or used by anyone other than the
addressee(s), nor copied in any way. If received in error, please
advise the sender and delete it from your system.