Comsol Python Image Manipulation Using Microsoft