preparation for cropped image of size 640x512