PDF file size increases after running javascripts
My pdf file jumped from 6mb to 50mb and keeps growing after running custom scripts. Is there any way to clear that data after running the scripts?
I have tried to do some research and set my variables to undefined at the end of the script, but the file size just keeps increasing.
Any help would be much appreciated.
Posted Dec 12, 2017, 6:45 PM UTC
11
Can you be more specific ? Are you talking about printing a website to pdf or manipulating a pdf using javascript in Node ?