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 (1 year ago) RSS 2.0 feedStarStarStarStar 68%Total: 168 This week: 1All time: 8,551 This week: 349Up
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: 11 packages by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 1x

 

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:168
This week:1
All time:8,551
This week:349Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:91%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:556
 
Nice.
1 year ago (Alekos Psimikakis)
70%StarStarStarStar