I reverse engineered several microscopy formats, it can be a lot of fun. If anyone is interested in contributing to similar such efforts there is also https://openslide.org/
Sheesh openslide was an absolute game changer when I was writing code to be able to utilize digital pathology and microscopy data in a browser. They've done some awesome work. I really enjoyed learning about the different formats and can't recommend the resources at OpenSlide enough.