cut images and skip the white