created the offscreen context for the image, drew the image on a rounded rect and cleaned up the context after, archived the thubnail for saving on application close