Update readImg.c