Re: Saving more than one image in a widget [message #46721] |
Tue, 13 December 2005 15:13 |
Robert Barnett
Messages: 70 Registered: May 2004
|
Member |
|
|
If you choose to put together your savescreen programmatically then you
may need to think about using rebin to produce good quality plots. See
http://www.dfanning.com/graphics_tips/zfonts.html for more info.
Note:
An alternative to using TVRD() for each viewport is to use the Windows
API to create a savescreen. You'll need to write and compile a C/C++
program to do this. I cannot republish the code in question because it
is propietary code written by Siemens Medical.
Robbie
|
|
|
Re: Saving more than one image in a widget [message #46723 is a reply to message #46721] |
Tue, 13 December 2005 14:25  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
Assuming you want to do this programmatically, just read each draw
widget, stitch the images together, and save the composite image. So
say you had 3 8 bit images that were 10x10. Read each one, then create
a new array 30x10, and plunk then 3 images in it and write it to disk.
-Rick
clivecook59@gmail.com wrote:
> Hi,
>
> If i have a base widget with 3 plots in seperate draw widgets within
> it, how can i save a picture that contains all three plots? I can
> easily obtain just one plot but i don't know how to obtain all three.
>
> thanks
>
> Clive
>
|
|
|
Re: Saving more than one image in a widget [message #46724 is a reply to message #46723] |
Tue, 13 December 2005 14:06  |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
clivecook59@gmail.com wrote:
> Hi,
>
> If i have a base widget with 3 plots in seperate draw widgets within
> it, how can i save a picture that contains all three plots? I can
> easily obtain just one plot but i don't know how to obtain all three.
>
> thanks
>
> Clive
Assuming Windows, if all your draw widgets are contained in the same
parent base
then ALT/PrintScrn will copy the current active window to the
clipboard, and thence to
Word or whatever to print.
Andrew C.
|
|
|
|