backward compat in transform_img_snd