Regarding HTML to IMAGE

I am using verydoc to convert HTML to Image.

I want to convert HTML to Image in the background and save the image but it always forces a download on my system. What do I need to do in order to do the conversion only in the background?

Will appreciate your help.
==================================
Can you please let us know what command line are you using?

VeryDOC HTML to Image Converter can be downloaded from following web page,

http://verydoc.com/html-to-image.html

after you download it, you can run following command line to convert your HTML file to image file,

html2image -url=http://www.verydoc.com/ -out=C:\verydoc.png

can you work fine with above command line?

VeryPDF
===============================

I want to convert a html to image from php.

I already have the converter downloaded. Can you tell me how I can use it from php and without any popups and without forcing download.
=======================
You can use following PHP code to call html2image.exe to convert HTML file to image file easily,

<?php
$shellcommand = "C:\html2image.exe -url=http://www.verydoc.com/ -out=C:\verydoc.png";
exec($shellcommand);
?>

VeryPDF
=======================
I want to convert a html to image from php.

I already have the converter downloaded. Can you tell me how I can use it from php and without any popups and without forcing download.

And can I save the image on another server? what do I need to do to save it to another server?

I have two servers say A and B. I am running the php file to convert the html to image on server A and I want to save the output image to server B? what do i need to do for that?
=======================
You can use following PHP code to call html2image.exe to convert HTML file to image file easily,

<?php
$shellcommand = "C:\html2image.exe -url=http://www.verydoc.com/ -out=C:\verydoc.png";
exec($shellcommand);
?>

You can convert HTML file to image file on server A, and then use FTP or SFTP or scp to upload this image file to server B, this can be done easily via PHP or script code.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!