/PHP-Image-Resize

Primary LanguagePHPMIT LicenseMIT

#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 them for the attached example. If you would like to publish the example, you have to use your own images!

Requirements

  • PHP 5.2 or higher
  • GD Library