Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

save image with overlay to jpeg file

I try saving the IMAQ image that has some overlay to jpeg file (and want the overlay to be displayed while I open jpeg file with application other than LabVIEW). I got one example code from ni website, but when I tried the same method with my program, it saves everything on the screen to my jpeg file (just like when u press print screen button on your keyboard, not saving only the selected window eventhough I specify the window number at the IMAQ Overlay to Image.VI). Can you suggest me what parameter I should set to save only the selected window?
Download All
0 Kudos
Message 1 of 2
(7,003 Views)
Irene. Version 6.1 of the Vision Development Module contains a VI called Merge Overlay.vi. The function makes your overlays destructive, and actually changes the pixel values of the image. The reason your current overlays don't save along with the image is that they are non-destructive (not part of the image, just overlayed on top of it).

I've looked at the current example on the website, and it's a pretty complicated work around (I think is uses Alt-Print Scr). Upgrading to the Vision 7 Development Module is the clean and easy way to go.

Kyle V.
Message 2 of 2
(7,003 Views)