Web Page Capture

html2canvas

function convertasbinaryimage() {
    html2canvas(document.getElementById("map"), {
        useCORS: true,
        onrendered: function (canvas) {
            var img = canvas.toDataURL("image/png");
            img = img.replace('data:image/png;base64,', '');
            var finalImageSrc = 'data:image/png;base64,' + img;
            $('#googlemapbinary').attr('src', finalImageSrc);
         }
    });
}

PhantomJS

jsPDF

https://parall.ax/products/jspdf

https://github.com/MrRio/jsPDF

https://cdnjs.com/libraries/jspdf

https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/jspdf.debug.js
https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/jspdf.min.js

html2canvas

https://cdnjs.com/libraries/html2canvas

https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js
https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js

results matching ""

    No results matching ""