| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Total: 174 | All time: 8,789 This week: 488 | |||||
| Version | License | PHP version | Categories | |||
| save-and-convert-img 1.0.1 | Artistic License | 5 | PHP 5, Graphics, Files and Folders |
| Description | Author | |
This class can retrieve remote images and convert formats. |
Is a class to save remote images, and change the type of image. Download and convert at the same time a remote file, convert: <pre> PNG to JPG PNG to GIF GIF to JPG GIF to PNG JPG to GIF JPG to PNG
Example:
$load= new SaveAndConvertImg(); //path to save the image. do not put the last slash $load->patch = './img'; //copy image source path $load->url = 'https://www.google.es/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png'; //name of the copy $load->name = 'logo_google'; //type of image to convert - jpg gif png $load->convert = 'jpg'; echo $load->ReturnImage(); </pre>
| File | Role | Description |
|---|---|---|
| Doc. | Documentation | |
| Class | Class source |
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| save-and-convert-img-2017-10-05.zip 1KB | |
| save-and-convert-img-2017-10-05.tar.gz 1KB | |
| Install with Composer |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.