image to texture - 1st stage