process_img_top