Transformation of photo