Converts TIFF images from a microscope to a JPEG format that CalMorph can read.