added gfximage_transform method