cropping and grayscaling