When saving [this OIB file](https://github.com/hmbotelho/oib_to_tif/raw/main/Image0010_01.oib) with RBioFormats the pixel size metadata is lost. Here's what I did: ``` library(RBioFormats) img = read.image("Image0010_01.oib", normalize = FALSE)[,,2] write.image(img, "Image0010_01.ome.tiff", force = TRUE, pixelType = "uint16") ``` Doing the equivalent using the [bfconvert](https://docs.openmicroscopy.org/bio-formats/6.9.1/users/comlinetools/conversion.html) command line tool preserves the pixel size metadata: `bfconvert Image0010_01.oib Image0010_01.ome.tiff` More info here: [https://github.com/hmbotelho/oib_to_tif](https://github.com/hmbotelho/oib_to_tif)
When saving this OIB file with RBioFormats the pixel size metadata is lost.
Here's what I did:
Doing the equivalent using the bfconvert command line tool preserves the pixel size metadata:
bfconvert Image0010_01.oib Image0010_01.ome.tiffMore info here: https://github.com/hmbotelho/oib_to_tif