RBioFormats icon indicating copy to clipboard operation
RBioFormats copied to clipboard

Edit XML metadata

Open lambdamoses opened this issue 2 years ago • 0 comments

Would it be possible to add a function to edit the XML metadata of the OME-TIFF file? Say for instance, I'm only keeping a lower resolution from a pyramid (to create a small example dataset for unit tests and examples in function documentation), which has different physical pixel size from the full resolution, so I need to edit the physical size field in the XML metadata. I have been using the xml2 package to edit the XML after reading it into R and then I used the tiffcomment command line tool to replace the XML metadata, but it would be nice to do that directly within R if possible.

lambdamoses avatar Apr 05 '24 10:04 lambdamoses