Regression problem with text ROI in ROI manager

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Regression problem with text ROI in ROI manager

Stein Rørvik
The demo macro for overlays
https://imagej.nih.gov/ij/macros/examples/CreateOverlay.txt
is broken since 1.53f; it works as expected in 1.53e and previously.

The problem is that the text disappears at the roiManager("Set Fill Color", ... call.
Try this in the macro debugger:

  run("Blobs (25K)");
  roiManager("reset");
  setFont("Sanserif", 24);
  makeText("This is an overlay", 30, 10);
  roiManager("Add", "red");
  roiManager("Set Fill Color", "#88000000"); // argb, alpha=0.53

Stein

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html