ENH: shift an image by offset