Skip to content

This PHP class can resize .jpg and .png images from a path and by upload. Resizing is possible to scale and to square.

Notifications You must be signed in to change notification settings

Microgamer/PHP-Image-Resize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#PHP-Image-Resize

Function of this class

This PHP class can resize .jpg and .png images from a path and by upload. Resizing is possible to scale and to square.

Information about the script

The folder /tmp have to be in the path, where the class.php is. All other files and folders only exist for the example.

License

The whole project except the images in examples/images/ is released under MIT or GPL Version 3. The images in examples/images/ are copyright by Jan Karres (jankarres.de). You may only use there for the attached example. If you would like publish the example, you have to use your own images!

Requirements

  • PHP 5.2 or higher
  • GD Library

About

This PHP class can resize .jpg and .png images from a path and by upload. Resizing is possible to scale and to square.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published