VeryPDF Cloud API Platform :: PDF to HTML Converter Cloud API :: Convert PDF file to HTML file from PHP, C#, .NET program languages, Convert PDF file to verypdfhtml format

Hello,

I paid for VeryPDF Cloud API Platform, because I need convert PDF to HTML. But I don't know how to do this.

Thank you.
Customer
--------------------------------------

image

VeryPDF Cloud API Platform,
https://www.verypdf.com/online/cloud-api/index.html

Thanks for your message, are you trying to convert PDF file to HTML file from PHP code? if yes, you can call following URL from PHP code to convert from PDF file to HTML file easily,

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXX
&app=verypdfhtml
&infile=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/pdfeditor.pdf
&outfile=out.verypdfhtml
&-htmlimgtwo
&-htmlimgpos
&-htmlformat
&-r=150
&-f=1
&-l=5
&-htmltextoffsetx=8
&-htmltextoffsety=12

Please replace "XXXXXXXXXXXX" with your real APIKEY and pass the URL of PDF file to "infile" option, call new URL from the PHP code, then you will get a HTML file after a few seconds.

We hope this solution will useful to you, please give it a try.

VeryPDF
--------------------------------------
Yes, I am trying to convert PDF to HTML from PHP.

Your answer helped me! Now I can convert from PDF file to HTML file properly. But has error in the special characters.

I am converting this PDF file: http://online.verypdf.com/u/81667/edital.pdf . Can you see what happens? (Attached the converted file).

Also, the sample code have some options, but I do not know why and when to use them. Exists some doc to explain that?

Thanks again!
Customer
--------------------------------------
The http://online.verypdf.com/u/81667/edital.pdf file is not exist, can you please resend this PDF file to us for test purpose?

>>Also, the sample code have some options, but I do not know why and when to use them. Exists some doc to explain that?

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXX
&app=verypdfhtml
&infile=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/BadFile1.pdf
&outfile=out.verypdfhtml
&-htmlimgtwo
&-htmlimgpos
&-htmlformat
&-r=150
&-f=1
&-l=5
&-htmltextoffsetx=8
&-htmltextoffsety=12

apikey=XXXXX: Set your APIKEY,
app=verypdfhtml: VeryPDF PDF to HTML Converter App,
infile=XXXXX: The URL of online PDF file,
outfile=out.verypdfhtml: Output HTML file, the extension name should be .verypdfhtml,
-htmlimgtwo: Create two images at one time, one is contain text contents, another is not contain text contents. In general, please don't use this option.
-htmlimgpos: Include image positions in the generated HTML files.
-htmlformat: Output text information in HTML format.
-r=150: Set resolution for conversion, the unit is DPI (default is 150).
-f=1: Set first page to convert.
-l=5: Set last page to convert.
-htmltextoffsetx=8: Set X offset for all HTML text contents.
-htmltextoffsety=12: Set Y offset for all HTML text contents.

Please feel free to let us know if you need any other information.

VeryPDF
--------------------------------------
>>My last question... Exists a method to convert more fast?
>>Maybe a option to get only text, without images?

You can add "-htmlnoimg" option and remove "-htmlimgtwo" and "-htmlimgpos" options to get only text contents and without images, for example,

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXX
&app=verypdfhtml
&infile=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/BadFile1.pdf
&outfile=out.verypdfhtml
&-htmlformat
&-r=150
&-htmltextoffsetx=8
&-htmltextoffsety=12
&-htmlnoimg

If you add "-htmlnoimg" option and remove "-htmlimgtwo" and "-htmlimgpos" options, the conversion speed will be fast.

VeryPDF

VN:F [1.9.20_1166]
Rating: 8.5/10 (6 votes cast)
VN:F [1.9.20_1166]
Rating: -1 (from 3 votes)
VeryPDF Cloud API Platform :: PDF to HTML Converter Cloud API :: Convert PDF file to HTML file from PHP, C#, .NET program languages, Convert PDF file to verypdfhtml format, 8.5 out of 10 based on 6 ratings

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!