Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save an image with text,lines etc drawn on it?

Hi,
I need to save an image, which has lines and some text displayed on it, in TIFF format.I am unable to find a way to do this using any of the vis supplied along with IMAQ.

Deepak
0 Kudos
Message 1 of 4
(3,365 Views)
It depends on what you are using to create your lines and text.

If you are using a picture control, you should be able to retrieve the contents using an invoke node. However, there is no way to write a TIFF file.

If you are using the IMAQ Vision Toolkit, you can write a TIFF file. This will only work if you use the drawing tools to add your lines and text. It is not currently possible to combine overlays with an image.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 4
(3,365 Views)
Deepak,
As Bruce mentioned, saving non-destructive overlays to an image is currently not a supported feature, but here are some links to examples that may help.....

http://ae.natinst.com/devzone/explprog.nsf/41ee12ddba6c766a8625684700691463/57d19cf77411032286256ac70073ef3f?OpenDocument

http://ae.natinst.com/devzone/explprog.nsf/41ee12ddba6c766a8625684700691463/a610e8852ff000fb86256b4a004f158f?OpenDocument

Best Regards,
Chris D
NI Applications Engineer
0 Kudos
Message 3 of 4
(3,365 Views)
the links above do not work anymore, do you have updated links please?
0 Kudos
Message 4 of 4
(3,365 Views)