Questions tagged [convertapi]

ConvertAPI is a high-performance 200+ file format conversion and manipulation REST API service. It can be integrated into any application or platform using either our SDK libraries or plain HTTP requests. Use this tag for questions related to the ConvertAPI service. Please include all relevant tags on your question, e.g., programming language, file formats, etc.

ConvertAPI is a fast and fault-tolerant web service used by software developers to convert between MS Office, Open Office, and iWorks stack, as well as HTML documents, images, manipulate PDF files, and numerous other formats. Being a RESTful API, the service can be used with any programming language — C#, Java, Ruby, Python, PHP, JavaScript, Node.js, Kotlin, Go, etc.

ConvertAPI boasts 99.99% uptime since its launch in 2011. Such robustness is achieved due to the globally distributed, highly available platform, which can scale up or down to effectively process any amount of traffic. ConvertAPI is fully GDPR compliant.

You can find all supported file formats and conversions here: https://www.convertapi.com/doc/file-formats.

ConvertAPI provides official API libraries for all your favorite languages and frameworks:

We encourage you to build custom conversion workflows for multiple-stage file processing. This best-practice-driven REST API approach improves performance and gives you full control over file processing at any stage of the flow. You can also create ConvertAPI workflows on Zapier. Feel free to post Zapier related issues on SO too.

80 questions
1
vote
1 answer

Conversion fails when running jobs (API Convertapi : docx to pdf)

I have been running into the following problem when trying to convert a docx file into a pdf : the conversion works when I convert one file but fails when I want to convert them using Laravel jobs.. This is the error I get in the failed_jobs table…
Louis Charles
  • 330
  • 4
  • 18
1
vote
0 answers

How to fix 'Status=Internal Server Error, StatusCode=500' error in convertapi for pdf merge in apex?

I want to merge PDFs that I have in my Salesforce org using "convertapi". I follow this link: https://www.convertapi.com/pdf-to-merge and apply using reference code using JSON and the apex. code is mentioned below. List relatedFilesIdsList…
RU_23
  • 89
  • 1
  • 10
1
vote
0 answers

ConvertAPI DOCX to PDF, want MS Word style comments in margins

I want to convert DOCX files to PDF using ConvertAPI. When a .DOCX is saved as a .PDF in Word O365, the comments are output in the right margin. I am aware that the comments can be converted to PDF notes but this is not what I'd like.…
Kyle
  • 321
  • 1
  • 14
1
vote
1 answer

ConvertApi NuGet Package Error: Could not install package 'ConvertApi 2.7.0'

I am Adding ConvertApi nuget package to Convert PDF to Doc file, But getting below Error Could not install package 'ConvertApi 2.7.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package…
1
vote
0 answers

convertapi pdf to image: specify page range

I need a png thumbnail of various document types, just the first page, in order to have a quick preview. For a docx document, it is possible to specify page range. But for a pdf file, there is no page range parameter, so it converts all the pages,…
patb
  • 1,688
  • 1
  • 17
  • 21
1
vote
1 answer

ConvertAPI array of Results instead of ResultFiles

I am trying to split a PDF into separate pages, then use a user provided organizational pattern (like how you print various pages in Word), and then merge the separate pages into separate documents and save them to disk. My problem is that when I…
Bemuzzled
  • 11
  • 1
  • 2
1
vote
1 answer

Is there way to convert docx to image-only pdf with convertapi?

I'm trying to find a way to convert docx to image-only pdf, so I could put a watermark on the pdf document right after conversion. I've looked through convertapi documentation and I can't find any available options.
rreckonerr
  • 387
  • 1
  • 3
  • 12
1
vote
2 answers

Convert API, new API version docx to PDF

I'm using Convert API to convert docx to PDF. With the old API version everything works good, but I'm trying to migrate to the new API version and when I open the PDF is not a valid document and it will not open. Not sure what I am doing wrong,…
olirx
  • 13
  • 3
1
vote
1 answer

Using convertapi in Windows Store App

Im trying out the Convertapi in a Windows store App project, and i want to send a .docx file and get a pdf file in return, im trying to do a post but im not sure how its done, this is what i have so far, but its not working. private async Task…
Thought
  • 5,326
  • 7
  • 33
  • 69
1
vote
1 answer

How to use excel to pdf REST api provided by ConvertApi?

I am planning to use, excel to pdf api (REST) in my java code provided by ConvertApi. please share the code snippet to be used for the same. Thanks in advance.
Rakesh Patil
  • 370
  • 4
  • 12
1
vote
2 answers

Covertapi.com pdf to jpeg in php

I am trying to use the convertapi.com conversion Rest Api with php to convert from a PDF file to JPEG but it keeps giving a exception saying returned content is not a jpeg. You can view my code at http://www.luova.fi/word2pdf/pdf2jpg.php I have…
0
votes
0 answers

What is the PPI (Pixels Per Inch) used when converting Web to PDF?

We are using convertAPI to convert webpages to PDF. One of our requierements is that the webpage content fits onto exactly one PDF page. We know the height of the page in pixels and are trying to convert that pixel value to a PageHeight parameter…
0
votes
0 answers

convertapi gives issue while converting docx to pdf in IOS device

I am trying to convert docx file to pdf using convertapi. The language i am using is Python and also i am doing some jinja2 templating in docx file. Everything works well with Android and web app. But it give 500 Internal server error while using in…
0
votes
0 answers

The CSS property 'position' doesn't work on ConvertAPI

I use the html to PDF conversion via PHP integration with ConvertAPI. Since 2022/12/07 i'm having troubles with 'position' CSS property. All of my templates that are converted are fully based on 'position: absolute;'. Now all the elements are…
0
votes
0 answers

5001 "Conversion Failed" when trying to compress PDF using ConvertAPI

I am trying to compress my PDF using ConvertAPI. It works fine every time that the file name does not have an "__" or "-", but as soon as I put in an "_" the conversion fails most of the time with the error code : 5001 and error "Conversion…
Karthik Ganesan
  • 4,142
  • 2
  • 26
  • 42