Access and modify xml metadata (rename) Leica lif files
Posted:
Thu Jan 24, 2019 12:53 pm
by ygao
Hi all, I tried to rename Leica LIF files for blind imaging analysis. After I renamed the files, the metadata still shows the original name when I loaded them to Amira. I use matlab to read the xml of the lif files, and noticed the element name (experiment name) kept unchanged. Please help. Thanks.
Re: Access and modify xml metadata (rename) Leica lif files
Posted:
Fri Jan 25, 2019 11:08 am
by dgault
The metadata in the file will remain unchanged by renaming. If you are converting the files to another format you can modify the metadata before writing it back out, or if you are parsing the metadata in Matlab then you can deal with it at that stage. Bio-Formats will allow you to read LIF files but it does not contain a LIF writer, so if you are maintaining the files in the original format then it will not be able to change the metadata.