PHP Classes
elePHPant
Icontem

Save and Convert Images: Retrieve remote images and convert formats

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-10-05 (2 years ago) RSS 2.0 feedStarStarStarStar 68%Total: 169 All time: 8,576 This week: 370Up
Version License PHP version Categories
save-and-convert-img 1.0.1Artistic License5PHP 5, Graphics, Files and Folders
Description Author

This class can retrieve remote images and convert formats.

It can retrieve an image file of any format from a given URL and converts it to another format.

Currently it can convert between formats:

PNG to JPG
PNG to GIF
GIF to JPG
GIF to PNG
JPG to GIF
JPG to PNG

  Performance   Level  
Name: Juan Chaves <contact>
Classes: 13 packages by
Country: Spain Spain
Age: 56
All time rank: 138928 in Spain Spain
Week rank: 193 Up9 in Spain Spain Up
Innovation award
Innovation award
Nominee: 4x

 

Details

Save-And-Convert-Img-PHP

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 folder image Files  
File Role Description
Accessible without login Plain text file README.md Doc. Documentation
Plain text file save_and_convert_img_class.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:169
This week:0
All time:8,576
This week:370Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:91%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:561
 
Nice.
2 years ago (Alekos Psimikakis)
70%StarStarStarStar