> I would like to call ImageJ from a C++ program, and then call a macro
> of imageJ, call the command open Image sequences and call the command
> animate.
You should be able to do this by having your C++ program execute a
command something like this
java -jar ij.jar -macro macro.txt
where "macro.txt" is a macro that runs one or more ImageJ commands. A
complete list of the ImageJ command line options can be found at the
beginning of the the ImageJ.java source file.
http://rsb.info.nih.gov/ij/developer/source/ij/ImageJ.java.html> Also, is there a limited number of commands or lines that an ImageJ
> macro can contain?
There is no arbitrary limit on the size of an ImageJ macro.
-wayne