LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save graph in JPEG format

 In my application I need to save a graph control image in .jpg format plz tell me how can i save the image elaborately ?
Mention Name of the functions that will be used .
 
Regards
Subrata
0 Kudos
Message 1 of 2
(3,105 Views)

The correct answer depends on the cvi version you are using.

From version 7 on, you can obtain the bitmap of a control with GetCtrlDisplayBitmap and save it to a file with SaveBitmapToJPEGFile function.

For older version there are no native functions to save in graphics format other than BMP, but I Guillaume Dargaud has developed some useful FPs to save bitmaps in jpeg or png format



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 2 of 2
(3,100 Views)