Remap image