Posted by
Michael Schmid on
URL: http://imagej.273.s1.nabble.com/copy-an-image-with-subtitle-tp3688987p3688993.html
Hi Philippe,
ImageJ has a built-in capture screen command. You can then crop the
image with a simple macro:
barHeight = 20; //window title bar height, depends on operating
system & style;
getLocationAndSize(x, y, width, height);
run("Capture Screen ");
makeRectangle(x, y+barHeight, width, height-barHeight);
run("Crop");
It is not perfect on Mac OS X: the symbol for changing the image size
covers the bottom-right corner of the image. Here an extra line
(enlarge the window first) would be needed.
Michael
________________________________________________________________
> Herbie,
>
> What do you mean by screen shot ? For me, a screen shot is a copy
> of the
> whole screen and I need to perform further manipulation to extract
> the good
> information. Do you see a possibility to make a selective copy of
> the screen
> which corresponds to the window or the canvas of the image ?
>
> Best,
>
> Philippe
>
> 2010/3/11 Gluender <
[hidden email]>
>
>> Philippe
>>
>> what about a screen shot?
>>
> >
>> Dear list,
> >>
>>> Is there a way to export an image into a document such like word
>>> with the
>>> "subtitle" information : especially the calibrated or
>>> uncalibrated size of
>>> the image ?
>>>
>>> Thanks
>>>
>>> Philippe GENDRE
>>>
>>
>> Best
>> --
>>
>> Herbie