All Questions

14
votes
1answers
9248 views

html2canvas does not work with Google Maps Pan

I'm using html2canvas to save my online map as an image (See the Save as Image link). I've tried it in Firefox, Chrome and Opera. It tends to work more often if you do not alter the default map. I...
16
votes
5answers
42764 views

create screenshot of webpage using html2canvas (unable to initialize properly)

I am attempting to use http://html2canvas.hertzen.com/ to take screenshots of my webpage. I am unable to initialize a canvas element using... var canvas = $('body').html2canvas(); If I were able t...
9
votes
3answers
19763 views

How to upload a screenshot using html2canvas?

Using html2canvas how can I save a screen shot to an object? I've been exploring the demos, and see that the function to generate the screenshot is generated as follows: $(window).ready(function() { ...
13
votes
1answers
20955 views

How to save img to user's local computer using HTML2canvas

I'm rendering a screenshot onclick with HTML2canvas .4.1 and want to save the image to user's local computer. How can this be accomplished? Please note that I'm a beginner, so actual code will be most...
21
votes
5answers
111333 views

capture div into image using html2canvas

I'm trying to capture a div into an image using html2canvas I have read some similar question here like How to upload a screenshot using html2canvas? create screenshot of web page using html2canvas...
6
votes
4answers
21898 views

HTML2canvas generates Blurry images

I am using jsPDF and it uses html2canvas to generate an image from some html element and insert on the .pdf file. But there is a problem on html2canvas, it generates blurry images from the html. See e...
1
votes
2answers
7015 views

Image in PDF cut off: How to make a canvas fit entirely in a PDF page?

When placing the canvas in the PDF using the jspdf library makes the image cut off. html2canvas(myContainer, {background: 'red'}).then (canvas) -> imgData = canvas.toDataURL('image/jpeg', 1.0) ...
0
votes
1answers
5383 views

Javascript - convert HTML div with SVG to image

I use Highcharts to draw a graph. I want to add "export to PNG" option that includes both Highcharts graph and outer div. When using Highcharts export, I'm unable to add the outer div containing the ...
11
votes
4answers
8779 views

How to make transparent color white instead of black in canvas?

I'm trying to take a screenshot using html2canvas: var body = document.getElementById("body") $(body).html2canvas({onrendered: function( canvas ) { var urlData = canvas.toDataURL("image/jpeg...
5
votes
1answers
4476 views

Using html2Canvas with HighCharts

I want to use html2canvas discussed at http://html2canvas.hertzen.com/documentation.html to convert the html content to image. However I am not getting image of HighCharts properly. On IE10 It renders...

Previous Next