crop.py: extracts cropped slides