add Crop() sample code.