LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how save graph as picture in CVI 8.0

Hi,
I have simple graph control and i want to save it as image into file.
Any sugestions??
 
Thanks
0 Kudos
Message 1 of 4
(4,979 Views)
The functions you need to use are GetCtrlDisplayBitmap and then one of SaveBitmapToBMPFile, SaveBitmapToJPEGFile or SaveBitmapToPNGFile. Don't forget to discard the bitmap afterwards, using DiscardBitmap.

Luis
Message 2 of 4
(4,974 Views)

Hello

Is there any function that saves JPEG file to BItmap file ?

Thanks

0 Kudos
Message 3 of 4
(4,536 Views)

Once you have read the image in memory with GetBitmapFromFile you can use SaveBitmapToBMPFile to obtain the bitmap file.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(4,533 Views)