galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

add image to already store pdf #280

Closed yogita3279 closed 3 years ago

yogita3279 commented 6 years ago

hello i have added the image to the pdf and modified it.. can we reduce the size of that image

chunyenHuang commented 6 years ago

It seems to me that you can not modify the image with HummusJS, you may need another library to handle it. However, you can store the image as an xObject, so you can reuse it if it's placed in more than one time.