Crop a PDF with a JPEG inside