Refactory
Crop image
Draw line