|
Hi All
i'm developing a plugin, that one of the thing it does os drawing lines on the image the user selected from a file selection dialog (that is initated from the plugin). The problem is that the lines are not drawn. I use the following code:
ImagePlus image =getImageOfSelectedFile("select image");
image.getProcessor().drawRect(10,12,40,50);
the method getImageOfSelectedFile basically opens a file selection dialog and creates an ImagePlus from the selected file.
the values in the drawRect call are random, the real values are calculated in the plugin, i checked them, they are valid.
Thanks in advance, if any additioal info is needed, i'll be happy to provide it
Yoav
---------------------------------
Get your email and more, right on the new Yahoo.com
|