scale image and save scaled image if image size greater than (640,480), this needs to classifier
refactoring resizing image code and move it to BitmapUtil class