Posted by
Jeff Brandenburg on
Jan 19, 2006; 2:39pm
URL: http://imagej.273.s1.nabble.com/Launching-ImageJ-from-external-program-tp3703994p3703995.html
On Jan 15, 2006, at 11:14 AM, Jon Harman wrote:
> Hi,
>
> I use Irfanview to view a directory as thumbnails on my W2000 machine.
> I'd like to select an image then launch ImageJ. Irfanview has the
> ability to run an external image editor. This feature works with
> "native" windows programs, but fails with ImageJ, giving an error that
> complains about missing ImageJ.cfg and launcher.cfg files. Does
> anyone know what is going on and if there is a fix?
>
> Jon
>
This question ("how do I get ImageJ to launch as a helper application
in Windows?") is starting to come up more frequently on the list.
Wayne has pointed out what needs to be done:
> The ImageJ Windows launcher (ImageJ.exe) expects its configuration
> file (ImageJ.cfg) to be in the current directory. Someone familiar
> with C++ could modify the launcher to look for the configuration file
> in the c:\Program Files\ImageJ directory if it can't find it in the
> current directory. The C++ source code for the launcher is available
> at
>
>
>
http://www.rolemaker.dk/nonRoleMaker/javalauncher/
> marner_java_launcher.htm
>
> This fix would also allow extension associations (i.e., assigning .tif
> to Image) to work.
The source code for the Marner Java launcher is pretty short, and seems
simple and straightforward enough.
I wish someone with a Windows box, Developer Studio, and some Windows
expertise would take a swing at this. I've got a system here that
launches ImageJ to do remote volume browsing, and it works like a charm
on OS X, but it's embarrassing to tell Windows users that I can't make
it work with their machines. :-/
--
-jeffB (Jeff Brandenburg, Duke Center for In-Vivo Microscopy)