Jump to content

Embedding additional txt in a PNG file (IMAQ 8.2)


Recommended Posts

Hi all,

Is there a way to embed some additional text information to a png image file? I want to be able to save some image crop information to the image to avoid having to maintain an additional file.

There seem to be some VI's "IMAQ Write Custom Data" and "IMAQ Read Custom Data", but they don't seem to be able to save the information to the png file.

Anybody know what those specific VI's are for?

Thanks,

Neville

Link to comment

QUOTE(eaolson @ Apr 24 2007, 03:01 PM)

Hmm.. I seem to be able to write the data and read it, while the image buffer is maintained.

But saving the image doesn't seem to save the meta data as well.

Silly me!! There is a SEPARATE VI "IMAQ Read image and vision info".. the regular "IMAQ Read Image" won't work..

Neville.

Link to comment

The detailed help also points 2 example applications :

  • Examples\Vision\3. Applications\Battery Clamp Inspection Example.vi
  • Examples\Vision\2. Functions\Calibration\Simple Calibration Example.llb

They demonstates the way to use these metadata which, apparently, can only be "overlay information, pattern matching template information, and calibration information"

Hope this helps

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.