pdf-annotate icon indicating copy to clipboard operation
pdf-annotate copied to clipboard

Pure-python library for adding annotations to PDFs

Results 22 pdf-annotate issues
Sort by recently updated
recently updated
newest added

How to add Chinese text? a.add_annotation( 'text', Location(x1=10, y1=20, x2=80, y2=30, page=0), Appearance(content="中文", font_size=10, fill=(0, 0, 0)), ) a.write('D:\\test.pdf') a error is reported: UnicodeEncodeError: 'latin-1' codec can't encode characters in...

Hey there, the Annotate Image is a really nice feature, but sadly I can't find any way to remove an annotated Image from the PDF again. Would appreciate if anyone...

Trying to input image but in Image.py there is a parameter of (self._appearance.image) missing. This is the function in Image.py file. def image_xobject(self): if self._image_xobject is None: self._image_xobject = self.make_image_xobject(...

Hi, I have an existing PDF that is digitally signed. I wanted to add some basic annotations. Let's say I have added a simple square as per the code below...

What should I do to get the .exe work as code works in the VSCODE?? ``` import os from typing import Text from pdf_annotate import PdfAnnotator, Location , Appearance input_path...

Is it possible to center a text? ``` a.add_annotation( 'text', Location(x1=455, y1=820, x2=900, y2=500, page=0), Appearance(stroke_color=(0, 0, 0), font_size=8, stroke_width=0, align="Middle" content="Text", fill=(0, 0, 0)) ) ```

Hello, Surprisingly, some pages are missing when using pdf_annotate: Example pdf from https://www.hkexgroup.com/-/media/HKEX-Group-Site/ssd/Investor-Relations/Regulatory-Reports/documents/2016/160321ar_e.pdf?la=en , with 212 pages. when running the following code, the new files is missing 2 pages. The...

When adding annotations to a PDF, metadata does not seem to be applied correctly. I have only tested this on the Bluebeam Revu viewer. I'm not sure if this is...

Attempting to use Overwrite flag with True will result in the following error: AttributeError: 'PdfAnnotator' object has no attribute '_filename' https://github.com/plangrid/pdf-annotate/blob/e78638d71f156ed79e8384e3bac54d638136211c/pdf_annotate/annotator.py#L314

having tried countless libraries, I have been impressed with the simplicity and effectiveness of pdf-annotate. However I am yet to understand how to implement annotations on a list of x1,y1,x2,y2...