Rewrote image inpainting (with little success)