convertio / convertio-php Goto Github PK
View Code? Open in Web Editor NEWConvertio APIs Client Library for PHP
Convertio APIs Client Library for PHP
I have tested this code below and it's working perfectly, but I'd like to convert PPTX to Multiples PNG files which is possible by your web site.
How can I change this code to achieve that?
`<?php
require_once 'vendor/autoload.php';
use \Convertio\Convertio;
$API = new Convertio("");
$API->start('myfile.pptx', 'pdf')->wait()->download('./output.pdf')->delete();`
Hi, your service is giving me a full HTML file ( with header footer, side columns)
but i want to recive only the HTML content, because i want to use it inside another html file
it's fine
An error occurs when converting .doc files to .jpg format.
At the same time, .docx files are converted well
Check it out, please.
I'm getting the following message from the API:
PHP Fatal error: Uncaught Convertio\Exceptions\CURLException: SSL certificate problem: certificate has expired in /foobar/public_html/wp-content/plugins/fff-api/includes/convertio/src/API.php:177
Hello, do you have a Java SDK or Java can only use REST API for document conversion?
Hi,
This API Solved my very big problem. But, I am having 2 issues.
I want to show the PROGRESS bar while it is converting file. Progress bar where users can see there file is being converted. 0 to 100%
When i try to convert a Bigger file. 25 or 30 MB, it gives HTTP ERROR.
I am having only these 2 issues. Kindly Reply me soon with these please.
require_once 'convertio-php-master/autoload.php';
use \Convertio\Convertio;
use \Convertio\Exceptions\APIException;
use \Convertio\Exceptions\CURLException;
$image_name = $_FILES['audio']['name'];
$image_size =$_FILES['audio']['size'];
$image_tmp =$_FILES['audio']['tmp_name'];
$image_name = $image_name;
$runn = move_uploaded_file($image_tmp,'temp_music/'.$image_name);
if($runn){
$fil = explode('.', $image_name);
$FileName = $fil[0];
$RenameValue = $FileName.'_MU.mp3';
$_SESSION['FileName'] = $RenameValue;
$API = new Convertio("API KEY REMOVED");
$API->startFromURL('https://musicuploads.com.au/musicuploads/temp_music/'.$image_name, 'mp3') // Convert (Render) HTML Page to PNG
->wait() // Wait for conversion finish
->download('./converted_files/'.$RenameValue) // Download Result To Local File
->delete();
$delTemp = unlink('temp_music/'.$image_name);
if($delTemp){
echo '<script>location.href="music_converted.php"</script>';
}
}
Kindly Provide me Response Soon
How to convert mp3 file to ogg with OPUS codec? I use this code, but conversion occurs in Vorbis codec
$API->start( $file, 'ogg', [
'audio' => ['codec' => 'opus'],
"callback_url" => "####",
]);
I have the following URL which downloaded a word document which I want to convert to PDF
https://docs.google.com/uc?id=0BzY2TjE6XKcgU05CTmRuV18zbDQ&export=download
I have the following code
$API->startFromURL('https://docs.google.com/uc?id=0BzY2TjE6XKcgU05CTmRuV18zbDQ&export=download', 'PDF')->wait()->download('./output.pdf')->delete();
This code errors out 404
'The system is unable to find the requested action' in /home/pawsandc/public_html/pdf/src/API.php:170
if I change the url to say
$API->startFromURL('http://pawsclaws.org.au/pdf/Conrad.docx', 'PDF')->wait()->download('./output.pdf')->delete();
it works.
enter the google download URL on the website here works
https://convertio.co/document-converter/
so not sure why using the API does not work....
Everything was ok few days ago, but today when I tried to convert a pptx to png, that's what I'm getting.
Is it something with me or with the server?
Regards!
I get the error "Resolving timed out after 10519 milliseconds " when executing the code with the transformation of an xps document to excel, how can I solve it.
Use php 7.2
[Uploading حروف رأس السنه.pdf…]()
Originally posted by @Saudddd12 in #19 (comment)
Hello everyone,
in the example line 2 you wrote that Comment this line if you use Composer to install the package but when I commented it out, it didn't work, and I have to use require_once 'vendor/autoload.php' instead of require_once 'autoload.php';
yours Muhammed
Hi guys, when I try to install this library with composer I get the following error;
"The requested package convertio/convertio-php could not be found in any version, there may be a typo in the package name.", which is not the case. Also when I try to install it with CLI I get a stability error, and even when set to "dev", it will not install.
I have bought a premium plan, but the api returned "Operation timed out after 20000 milliseconds with 0 bytes received". And i also submit the question with email but the support staff don't reply me.
We get this error (sometimes) when calling the start
method:
$api = new Convertio('CONVERTIO_TOKEN');
$api->start($path, $format);
Error generates on line convertio/convertio-php/src/Convertio.php:174
When I try converting an podcast audio file direct URL from invidio.us, which lasts for more than 90 minutes, convertio's tool only converts less than 30 minutes from the audio file. So I am forced to download it from the original source and then upload it to convert.io
Would this problem also occur with convertio's API ?
Hi guys,
Is there settings for csv delimiter output ?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.