continous generate binary files
Resize the image