Update addimage.js
Update addimage.js

Solution to solve memory leaks caused by big images.
Is solving the issues #844 and #425
MrRio/jsPDF,yWorks/jsPDF,yWorks/jsPDF,yWorks/jsPDF,MrRio/jsPDF,MrRio/jsPDF