Nicklas wrote: > Nice work! It seems like you have spent some time on this.
I certainly have. JAI isn't exactly intuitive. > Do you have some code and/or images that can be useful for us? I certainly do. I basically check to see if the user provided one and only one image and if so call 'loadMultiImageTiff' with the indices of the desired images: (in SpotImages.mergeColorImages()) : HashMap<String,RenderedOp> images = loadMultiTiff(red,index_635,index_532); sourceImages[0] = images.get("635"); sourceImages[1] = images.get("532"); I'll clean up my code this weekend. Would you like me to send you a diff of some sort? I wrote a Test class based on yours and heavily altered (in parts) SpotImages.java. I certainly have data I can 'lend' you for testing (please email for a url). I'll also ask the Molecular Devices people for a dataset that we can put into the svn for testing.[1] > I think that adding parameters for which image to use in a multi-image TIFF > should be easy to implement. This can be done earliest at the 2.4 release. Great. Another point: The 'zip' that contains spot images isn't a zip. It looks like a zip, but this[2] is what I see when I try to open it in osx. Can you provide a hint as to how to open it? Thanks! Chad Matsalla Plant Biotechnology Institute, National Research Council of Canada Saskatoon, Saskatchewan, Canada [1] I can't do that with these images - their content is proprietary. [2] chad$ file 20th.zip 20th.zip: Zip archive data, at least v2.0 to extract chad$ zip -v ... This is Zip 2.3+CAN-2004-1010 (November 29th 1999), by Info-ZIP. ... chad$ unzip 20th.zip Archive: 20th.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of 20th.zip or 20th.zip.zip, and cannot find 20th.zip.ZIP, period. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to [EMAIL PROTECTED]