Step 1: Install PDFNetPython3
PDFNetPython3
Step2: Input the PDF to be resized/ compressed to a smaller size, as input_file
input_file
Step3: Run the Jupyter notebook…