Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

113
Views
Python remove shapes from a pdf

In my setup, I have a student submit a pdf, and the teacher can annotate the pdf using the adobe embed api. This really nice since the teacher can create and delete comments.

However, take the example case where a student writes their answers on a paper then scans them to a pdf. They then draw on the pdf with a pdf editor like Microsoft edge. after they submit and the teacher is editing, it is possible for the teacher to delete what the student has drawn because the embed API treats it as a shape. I don't want this to be possible.

My backend is Django, so maybe there is some way for python to open a pdf file and "flatten" the shapes.

Thanks

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The Embed API has an annotations API, and as part of that, you can delete them (https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/howtos_comments/#deleteannotations-api). You would need to build the UI yourself to provide a way for a user to select an annotation and remote it. The API covers everything (getting, adding, deleting), so it's just up to you to build it out.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!