Image metadata
KatieZ
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.
https://en.wikipedia.org/wiki/Exif
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
November 16, 2017 at 05:36 pm - Permalink
PNG as a file format may not have EXIF, but it has the fields in the spec which can be used for storing metadata.
https://www.w3.org/TR/2003/REC-PNG-20031110/#11textinfo
best,
_sk
November 17, 2017 at 01:56 am - Permalink
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
November 17, 2017 at 02:08 am - Permalink
A.G.
WaveMetrics, Inc.
November 17, 2017 at 11:51 am - Permalink
November 21, 2017 at 02:37 pm - Permalink