added spatial to image transform utility