Correctly encode image size in .mosaic files for light microscopy.