Add support for method shape_outline()
Only process an image when 'n' or 'p' is pressed