Solution-mediated transformation of photographic coupler