Questions tagged [cloudconvert]

39 questions
8
votes
1 answer

Using CloudConvert API in WordPress

I am trying to use the CloudConvert API within a custom WordPress plugin. What I'd like to do is initialise all of the CloudConvert API stuff just once, on activation, and then be able to use it multiple times as needed for file conversions.…
Jo Batkin
  • 108
  • 9
5
votes
2 answers

Resize videos with ffmpeg - Keep aspect ratio

I'm trying to write a script for a telegram userbot that can convert any video/animation to a .mp4. I already have it so the script communicates and utilizes the API of cloudconvert.com. Now my problem lies within the ffmpeg command that I'm passing…
ColinShark
  • 1,047
  • 2
  • 10
  • 18
2
votes
1 answer

Cloudconvert capture-website does not respect zoom or page_width

To capture more details on a javascript website I tried increasing page_width/page_heigth or decreasing zoom. Yet I get no change in the resulting jpg file. API docs: https://cloudconvert.com/api/v2/capture-website#capture-website-tasks My request…
Aleksandr Levchuk
  • 3,751
  • 4
  • 35
  • 47
2
votes
0 answers

Cloud Convert job error "started too many jobs at once"

I'm sending files to a php script from an html form. In the php script, I'm getting the temp file location and trying to convert it from a jpg to png. I'm getting this error from the server when trying to convert the…
Mike
  • 155
  • 1
  • 11
2
votes
3 answers

How to add a border to a transparent PNG using ImageMagick, while preserving transparency?

I am trying to add a 10px red border to a transparent PNG using ImageMagick, while preserving any existing transparency that might exist within the image. Here is my source image: If you download and view that image with an image viewer, you'll…
Derrick Miller
  • 1,860
  • 3
  • 21
  • 37
2
votes
2 answers

CloudConvert API v2 The tasks field is required

I'm trying to set up the CUI, but when I try to send a request, I get a code error Uncaught CloudConvert\Exceptions\HttpClientException: tasks: The tasks field is required I need to send a file for conversion from my computer and receive html in…
Denis Mak
  • 23
  • 2
2
votes
1 answer

Verify HMAC Hash Using Cloudflare Workers

I'm trying to verify a HMAC signature received from a WebHook. The details of the WebHook are https://cloudconvert.com/api/v2/webhooks#webhooks-events This says that the HMAC is generated using hash_hmac (PHP) and is a SHA256 hash of the body -…
markpirvine
  • 1,485
  • 1
  • 23
  • 54
2
votes
2 answers

API CloudConvert curl request PHP

I would like to test a very simple case with the API CloudConvert with a curl request. I want to import the file essaiFichier.txt with a curl request. I get a response in Json with a status "waiting". I have no idea if the request was well done. If…
Pascal
  • 59
  • 4
2
votes
1 answer

CloudConvert html to docx page breaks

I'm using CloudConvert.com to convert an HTML report in my ASP.Net MVC site into a Docx file. It works fine except that I can't figure out how to get the resulting Docx to use the page breaks from the HTML. Things I've tried:
Steve Hiner
  • 2,523
  • 3
  • 24
  • 33
1
vote
0 answers

CloudConvert API import/upload task always marked as "Waiting for Upload"

This is my first time using the CloudConvert API, and I attempting to perform HTML to PDF file conversion. I have read/followed the official documentation as well used the provided "Job Builder," but no matter what I try, the import/upload task is…
Jerry Will
  • 11
  • 4
1
vote
2 answers

CloudConvert conversion API - PDF to PNG using Google Apps Script

I'm a Google Apps Script Developer and a beginner with API integrations. I'm attempting to convert a PDF file stored in Google Drive to PNG format and save it back to the same folder. For this purpose, I'm using CloudConvert API. Unfortunately, my…
Saud Malik
  • 53
  • 4
1
vote
1 answer

Cloudconvert - Invalid signature error when using request-promise to upload via API

I'm attempting to upload a pdf through the cloudconvert API using nodeJS and request-promise. The request to get the upload URL and parameters is successful, but when I attempt to pass the data I get a 401 - "FormPost: Invalid Signature" error, even…
sheltam264
  • 13
  • 2
1
vote
1 answer

Resizing image with ImageMagick and CloudConvert

I'm trying to upload image to CloudConvert, convert it to PNG and resize it with ImageMagick. import CloudConvert from 'cloudconvert'; const cloudConvert = new CloudConvert('api_key'); let job = await cloudConvert.jobs.create({ "tasks": { …
o..o
  • 1,789
  • 5
  • 31
  • 59
1
vote
1 answer

How do I send nested json POST request in java using jersey?

I am using a document converter api called cloudconvert. They don't have an official java library, but a third party java option. I needed a little customization so I cloned the github project and added it to my project. I am sending cloudconvert…
1
vote
1 answer

CloudConvert Combine Docx and PDF

Im using the CloudConvert NodeJS Package. I have a process that grabs a PDF from a remote server and then generates a docx dynamically from a template. I am attempting to use CloudConvert to combine these two pdfs, but whenever I do so the returned…
1
2 3