Image matching in place.