I have a pdf that is already in the blob storage. I need to highlight few lines in it and store it as a new pdf (again in blob storage). I tried finding it in the links below but couldn't. Below is the pseudo code:
import fitz
def edit_pdfs(path_to_pdf_from_blob)
### READ pdf from blob storage
doc = fitz.open(path_to_pdf_from_blob)
## EDIT doc (fitz.fitz.Document) - I already have working code to edit the doc , but won't put it here to avoid complexity
### WRITE pdf to blob storage
doc.save(new_path_to_pdf_from_blob)
Answers already seen:
Access data within the blob storage without downloading
How can I read a text file from Azure blob storage directly without downloading it to a local file(using python)?
Azure Blobstore: How can I read a file without having to download the whole thing first?