Login  Register

Re: BufferedImage

Posted by Jarek Sacha on Sep 15, 2005; 9:32pm
URL: http://imagej.273.s1.nabble.com/BufferedImage-tp3704856p3704860.html

ToeKnee Lacey wrote:

>Im posting this because, to be honest, I'm lazy.  What is the
>quickest way to get an ImageStack to use BufferedImage to display as opposed
>to java.awt.image type?  
>  
>
Take look at ij-plugins-imageio code. It has tool for converting between
ImagePlus and BufferedImage in other way around. Take look at class

net.sf.ij.jaiio.BufferedImageCreator:
http://cvs.sourceforge.net/viewcvs.py/ij-plugins/imageio/src/net/sf/ij/jaiio/BufferedImageCreator.java?view=markup

You can download binaries and source code for complete library (you can use it as plugins to ImageJ too) at:
http://ij-plugins.sourceforge.net/plugins/imageio/index.html

Jarek