Download .zip |
Info | Documentation | View files (2) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-10-05 (1 year ago) | 68% | Total: 168 This week: 1 | All time: 8,551 This week: 349 |
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>
Files |
File | Role | Description |
---|---|---|
README.md | Doc. | Documentation |
save_and_convert_img_class.php | Class | Class source |
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.