Endpoint: /photo/<id>/transform.json

        Performs the specified transformations.
          eg. transform(photo, rotate=90)
        Updates the photo's fields with the response.

def transform(self, **kwds):
        """
        Endpoint: /photo/<id>/transform.json

        Performs the specified transformations.
          eg. transform(photo, rotate=90)
        Updates the photo's fields with the response.
        """
        result = self._client.photo.transform(self, **kwds)
        self._replace_fields(result.get_fields())