[IMP] move crope image to tools/image.py