Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert the graph to gray scale

Hi
 
I am using MS 1.1 version, I need to take the print of the graphs which is provided by NI. The problem here is that i need the GUI to show the graph in multicolor environment, but when i am going to print it on a paper, i should be able to convert into gray scale. Can you kindly suggest me what should be done to achieve this?
 
Is there any features which present in MS which can help an user to decide this conversion at run time.
 
Thanks & Regards
Sandy
0 Kudos
Message 1 of 7
(7,971 Views)
Hey Sandy,
 
What development environment are you using and which language? 
 
Regards,
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 7
(7,955 Views)

Hi Sam

I am suppose to print the reports which contains NI graphs, the problem is that the line graph which i am using is of different colors. When it is on paper using a black & white print, the user will not be able to differentiate between the lines. I am using VC++ 6.0 languge for developement and Crystal Reports XI for reporting.

The graph is stored as an image before it is pushed into the report, kindly let me know if i can any how convert the colored graphs to gray scale.

Do let me know if you need any furthur information to solve my problem.

Thank you very much.

Regards

Sandeep K

 

0 Kudos
Message 3 of 7
(7,946 Views)
Hey Sandeep,
 
You said that you have it as an image, what is the format for that?    Also when you say you are putting it in a report- what report are you putting it into? 
 
Regards,
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 7
(7,941 Views)

Hi Sam

The image is saved from VC++ front end as .bmp file. This image is later placed into the crystal report as an object. So i need to convert the image before i save it as bmp file. kindly suggest how to do it.

Thanks & Regards

Sandeep K

0 Kudos
Message 5 of 7
(7,932 Views)

Hey Sandeep,

Measurement Studio 6.0 doesn't provide support for converting bmps to grayscale.  There are software packages out there that have libraries to do this.  One that I'm aware of is Victor Image Processing Library.   You might be able to find free source code on google to do this.  Sorry I don't have more for you.

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 6 of 7
(7,924 Views)

Hi Sam

Thanks a lot for that piece of information, i hope its one of the solution which can help me achieve my goal.

I am infact using MS 1.0 version, probably the oldest one. Is it possible to make my graph which i use in GUI to be made Grayscale? i do want to know if the versions like above 6.0 does have these features.

Thanks & Regards

Sandeep K

0 Kudos
Message 7 of 7
(7,916 Views)