def convert_from_image(colors=("<STR_LIT>", "<STR_LIT>")):
from .convert.image_to_knittingpattern importconvert_image_to_knitting_pattern<EOL>return convert_image_to_knitting_pattern(colors=colors)<EOL>
Convert and image to a knitting pattern.

    :return: a loader
    :rtype: knittingpattern.Loader.PathLoader
    :param tuple colors: the colors to convert to

    .. code:: python

        convert_from_image().path("pattern.png").path("pattern.json")
        convert_from_image().path("pattern.png").knitting_pattern()

    .. seealso:: :mod:`knittingoattern.convert.image_to_knitting_pattern`