issue #1047 maybe I should save the outlines in the outlines image?