PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 68%Total: 174 This week: 1All time: 8,783 This week: 560Up
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

Picture of Juan Chaves
  Performance   Level  
Name: Juan Chaves <contact>
Classes: 13 packages by
Country: Spain Spain
Age: 60
All time rank: 134828 in Spain Spain
Week rank: 411 Up13 in Spain Spain Up
Innovation award
Innovation award
Nominee: 4x

Documentation

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:174
This week:1
All time:8,783
This week:560Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:91%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:415
 
Nice.
6 years ago (Alekos Psimikakis)
70%StarStarStarStar