refind code of imgInfoGeter