LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Color got lost when exporting a 2D picture

Hello,

 

I had a 2D picture and I added some texts on it. (The original picture was a scope capture, and I added labels using the "Draw Text in Rectangle" tool. )

When I exported the picture, the color of the text I added all turned to black, regardless to a file or to clipboard.

What settings do I need to solve this issue? 

c.f. my attachment: the png file is the code.

 

Thanks!

0 Kudos
Message 1 of 3
(2,504 Views)

Using the "Draw Test in Rect.vi" defaults to Black Text with a transparent background.  If you want different colors, then wire the input to a color box.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 2 of 3
(2,497 Views)

All you have attached is the picture indicator (and we cannot tell what should or should not be black). When we export that current picture, the colors look correct.

 

Could you also please include the code where you add more text and where the exported picture shows the text in the wrong colors?

 

 

0 Kudos
Message 3 of 3
(2,470 Views)