NIH LISTSERV
NIH LISTSERV
IMAGEJ archives -- May 2002 (#83)

Go to: Previous Message | Next Message
Previous in Topic | Next in Topic
Previous by Same Author | Next by Same Author
Previous Page (May 2002) | Back to Main IMAGEJ Page


Options: Reply | Post a New Message | Join or Leave IMAGEJ, or Change Options | Search
View: Chronologically | Most Recent First | Wrap Text (Proportional Font) | Don't Wrap Text (Non-proportional Font)
*

Content-Type: text/plain; charset="us-ascii"
Message-ID:  <[log in to unmask]>
Date:         Wed, 15 May 2002 22:37:03 -0400
Reply-To:     ImageJ Interest Group <[log in to unmask]>
Sender:       ImageJ Interest Group <[log in to unmask]>
From:         Wayne Rasband <[log in to unmask]>
Subject:      Re: Documentation of fields in ij.io.FileInfo?
In-Reply-To:  <[log in to unmask]>

At 03:52 PM 5/15/02 -0700, you wrote: >I'm currently using both an ImageJ plug-in and a custom image processing >app, written in Cocoa for OS X. In an effort to consolidate (and just to see >if it can be done), I'd like to try to add ImageJ plug-in support to my OS X >app*. Converting from the cocoa-native image reprsentation to an ImagePlus >is pretty straight forward. Going the other way (ImagePlus->Cocoa), it seems >the easiest way is to generate an ij.io.FileInfo object for the ImagePlus >and initialize a Cocoa NSBitmapImageRep from the information in the FileInfo >object. Can anyone point me to a description of the fields (and their legal >values) in the FileInfo class (the JavaDoc for it doesn't have any info)? In >particular, I'd like to figure out how to determine if a file is >color/grayscale, if it's planar or interlaced, and what the pixel bit-depth >is. Any pointers greatly appreciated. There are some comments in the FileInfo.java source file but they don't show up in the JavaDoc API documentation because I accidentally left out the extra asterisk required by the JavaDoc program. To read the source, look up the FileInfo class in the browsable ImageJ source code at http://rsb.info.nih.gov/ij/developer/source/ -wayne




Back to: Top of message | Previous page | Main IMAGEJ page

NIH LISTSERV Home Page

CIT
Center for Information Technology
National Institutes of Health
Bethesda, Maryland 20892
301 594 6248 (v) 301 496 8294 (TDD)
Comments and Assistance
Accessibility wheelchair icon