Image metadata

Hi,

I am using Igorpro to develop a user interface for an imaging station. Is there a way to save some information (such as the camera settings) as image metadata? The images are saved in a PNG format.
KatieZ wrote:
Hi,

I am using Igorpro to develop a user interface for an imaging station. Is there a way to save some information (such as the camera settings) as image metadata? The images are saved in a PNG format.


It is not very clear to me if Igor drives the camera, thus saves the PNGs with the metadata, or an already prepared camera image is only parsed by your Igor code, in which case you would need only to parse the PNG metadata.

In either, case you may have to read and, possibly, write the metadata in binary to the PNG and, if writing is involved, possibly recalculate some checksums somewhere. I am not well versed in the PNG format. For reading it will be simple: you would still need to binary read the PNG file but parsing will be simpler as no checksumming would be involved.

Maybe, it's better to look into an image format supported by Igor with reading and writing metadata.

best,
_sk
If you want to save an image that contains additional data you may want to consider using TIFF format. See ImageSave with the /WT flag.

A.G.
WaveMetrics, Inc.