changed ImageCrop for new pipeline API