remove the obsolete and unused i_img_new() function