Make an outline of an image using mask methods.