added module img_reduce