Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imaq read custom data after saving image

Hello!

I'm using imaq write custom data to attach some info into images. Until here, everything is ok. The problem is when I save those images and try to open them and use the imaq read custom data to get the saved info, it appears that the images lost the saved info.

Any help on this?

Thanks in advance!

0 Kudos
Message 1 of 5
(3,713 Views)
Just one more thing!
Smiley Tongue
I forgot to say that I'm saving the images as .jpeg files, without compression.
0 Kudos
Message 2 of 5
(3,710 Views)
Hello again!

I'm needing this help urgently...

Hasn't anybody worked with this function before??? Smiley Indifferent


0 Kudos
Message 3 of 5
(3,696 Views)
Unfortunately, JPEGs don't support the addition of custom data.  In order to read and write custom data, you'll need to use the .PNG file format.  In addition, you must use the "IMAQ Read Image And Vision Info" and "IMAQ Write Image And Vision Info" VIs - the other VIs do not save custom data.
 
Good Luck,
 
Jeff
Message 4 of 5
(3,688 Views)
Thank you very much for your help! It works 😉Smiley Very Happy
0 Kudos
Message 5 of 5
(3,682 Views)