Understanding image manipulation