Automatically part images.