Some time ago needed to resize images in my server, started reading on how this could be done and ended up forking an existing project on github and improving it.

The result :  https://github.com/Nimrod007/PHP_image_resize

What does it do ?

  1. resizes images :)
  2. saves them with a new name
  3. keeps transparent png
  4. accepts images as string or as a file
  5. handles all common image types in the same function

The solution :

check it out : https://github.com/Nimrod007/PHP_image_resize

Share Button