> Is there a simple command line that can be used to open a
> TIFF or JPEG image from the MyPictures directory into ImageJ
> on a Windows computer? We would like to automate the
> process of opening captured images directly into ImageJ but
> I haven't gotten the syntax quite right to get this working.
Use a command something like this:
C:\ImageJ\ImageJ.exe "C:\Documents and Settings\UserName\Documents\My
Pictures\pic.jpg"
You need to be running ImageJ 1.35g or later to prevent a new copy of
ImageJ from being started each time you run the command. It uses
sockets to check to see if ImageJ is running, and, if it is, it passes
the argument to the ImageJ that is already running. This is the
technique suggested by Curtis Rueden in this message:
https://list.nih.gov/cgi-bin/wa?A2=ind0509&L=IMAGEJ&P=R10748&I=-3-wayne