http://fiji.sc/bugzilla/show_bug.cgi?id=752
--- Comment #8 from Curtis Rueden <ctrue...@wisc.edu> --- This bug is caused by the Profiler plugin attempting to crop the maximum Profile Plot size to stay within the bounds of the screen; see: https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/plugin/Profiler.java#L66-L72 The problem is that in headless mode, IJ.getScreenSize() returns (0, 0). Personally, I think limiting the Profile Plot size in this way is a bug, since there are legitimate reasons to plot extremely large graphs larger than the bounds of the screen, regardless of being in headless mode. In any case, this is a bug that would need to be fixed in the ImageJ1 source by Wayne Rasband. In the meantime, if you leave off the "Profile Plot Options" call at the beginning, the macro works. So, I was thinking that you could work around this bug by first setting the desired Profile Plot Options in the UI, then quitting ImageJ and invoking your headless macro(s) to generate and save plot profiles. Unfortunately, it seems that the previous Profile Plot settings are not used for some reason when the macro executes in this manner. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ ImageJ-devel mailing list ImageJ-devel@imagej.net http://imagej.net/mailman/listinfo/imagej-devel