Questions tagged as 'html2canvas'

1
answer

How to improve the quality of the saved image?

I use the html2canvas tool in a project to print a certain area of my code and save it as an image. I have tried to save in the following formats, JPEG and PNG , but both are of the same quality, I would like to know, of someone who uses...
asked by 07.08.2015 / 16:59
0
answers

Canvas2Image Script does not work in Chome [closed]

Good afternoon everyone, I'm developing an email signature generator here for the service. I got a ready script that uses the 'html2canvas' and the 'canvas2image' to turn the code into an image and then allow the user to save the image as .pn...
asked by 03.11.2017 / 16:53
1
answer

update value of hidden before submit [closed]

I'm trying to update two hiddens with a base64 code from the html2canvas plugin, but it does not update and on the other page where the form is received it gets caught by $_POST both fields hidden plus does not show base64...
asked by 11.11.2016 / 20:38
1
answer

How to convert an html page into Image and download IE and Safari?

I need to convert an HTML page to an image and download that image. I got it for Chrome and Firefox, but in IE it does not work at all in either version. In Safari 5 I could not download, clicking the link opens the image in the browser. Does...
asked by 25.02.2016 / 15:22
1
answer

Image size rendered by html2canvas

I have a script that creates an image of a div using html2canvas and would like to know if there is any way to change the whidth and height of that image. <div id="MinhaDiv">Conteúdo a ser renderizado</div> <...
asked by 29.04.2018 / 01:51
1
answer

Div for canvas

Hello, I'm having a problem converting a div to canvas, because inside that div has an img, and src contains the COMPLETE url of the image, with http, when it's a normal image that is already on the server, I have no problems , it converts quietl...
asked by 18.08.2016 / 17:05
0
answers

Multiple pages in htmlcanvas and jspdf

In my code I decrease the (dynamic) content to the default a4 and export to pdf, only it appears in only 1 page, that is, if I retune a large content, the page is cut. I would like the image to be cropped and appear on the following pages follow...
asked by 11.10.2018 / 18:30
0
answers

Multiple pages html2canvas and jspdf

In my code I decrease the (dynamic) content to the default a4 and export to pdf, only it appears in only 1 page, that is, if I retune a large content, the page is cut. I would like the image to be cut and appear on the following pages: var cac...
asked by 11.10.2018 / 19:26
0
answers

Screen Capture (Map)

I put a map on my website and I want to make a button that generates a png image when clicked on it, I used html2Canvas but when I click it it can not save the image of the map. Code used: <!DOCTYPE html> <html> <head>...
asked by 10.09.2018 / 13:36
0
answers

Page load error when exporting a PDF file using html2canvas and jsPdf

Good afternoon I'm developing a system that creates one or more templates in HTML and exports them to PDF for the creation of posters. It takes the html area for each poster, converts it to the image with the html2canvas, and then adds it to...
asked by 18.05.2018 / 22:13