Converts a path in a monochrome image to a series of points
in a defined format for laser writing with the confocal
setup. Configuration is done in img_to_path.ini.
-Uses an array of dots instead of line scanning.
+Uses an array of dots instead of line scanning. For use with
+LabView script.
"""
import configparser as cp