0

This is something which I am trying to automate out of self interest and at the same time learn to work around in Pdf .

I have a Pdf which has 100 questions . Numbered from 1-100 . . I need to cut every question and export it either as PDF or Png . Currently, it can be done using Krop tool . But , out of curiosity , I wanted to know if it could be automated .

What I have in Mind :

Upon analysing the file , I find that the question numbers are almost in the same position . So , if I am able to crop from starting coordinate of the question number , to the starting coordinate of the next question number , I could automate it .

I am not an expert in Finding out coordinates and cropping them . Any help or pointers would help .

What I have searched till now :

In this thread , there is a pointer that I have been trying to use for finding coordinates . I am working on the code , if I find something tangible would update it . If others working in Python know some other way which it could be done .

0 Answers0