Login  Register

Re: ImageJ and X11

Posted by Albert Cardona on Mar 13, 2007; 10:56pm
URL: http://imagej.273.s1.nabble.com/ImageJ-and-X11-tp3700081p3700083.html

There are past posts on the issue. You can use the equivalent to
/dev/null for your framebuffer, which is a virtual frame buffer for X
windows (I can't remember its name, please look it up in the list archives).

Otherwise, use the ImageJ classes directly from a plugin without neither
instantiating ImageJ's main class (which requires X11 because it creates
menus even if not shown) nor calling "show()" on any ImagePlus instance.
Then any java code can use the ij.jar and run in the background without
problems. Even execute macros from the internal macro interpreter.

Hope it helps.

Albert