1. A computer-implemented method for generating a portion of an image, the method comprising: receiving an identification of a modification region in an original image; calculating a differential representation of an image texture region; calculating a differential representation of boundary pixels in the original image, wherein at least some of the boundary pixels are outside of and adjacent to the modification region; generating new differential pixel values for the modification region using the differential representation of the image texture region to obtain substantial consistency with the differential representation of the boundary pixels; and integrating the new differential pixel values to obtain a modified image.