RavishaHesh / PDFJsAnnotations

Wrapper for PDF JS to add annotations
MIT License
322 stars 98 forks source link

Getting Blur PDF after saving Annotation #77

Open vicmutish opened 1 year ago

vicmutish commented 1 year ago

Hello Ravish,

If I make an annotation on a clear pdf, the new created pdf with annotation is blur. How can i control this?

zeecorleone commented 1 year ago

Hi @vicmutish ,

What do you mean by 'blur'? Is the quality low? I can suggest you to check options parameter of PDFAnnotate. The option values provided impact the quality of the output generated. Please check PDFAnnotate.prototype.savePdf method and you can try changing pageImageCompression to FAST, MEDIUM, SLOW, etc. and you can try changing options parameter for .toDataURL function being called in same code block.