PHP Classes

Resize: Resize and place watermarks on images

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 3,641 All time: 909 This week: 310Up
Version License PHP version Categories
resize-class 1.0GNU General Publi...5PHP 5, Graphics
Description Author

This class can be used to generate resized images.

It takes a given image and creates a copy with a new given size. The class can keep proportions of the original image upon setting a given width or height.

The class can also place a watermark image in one of the resized image corners or in the center.

The final image may also be rotated by a given angle. The background color of the image regions that may become empty is configurable.

The comments in the code are in Portuguese.

Picture of Cesar R Bagatoli
Name: Cesar R Bagatoli <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 39
All time rank: 88061 in Brazil Brazil
Week rank: 479 Up24 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file resize.class.php Class Classe de Redimensionamento de Imagens
Accessible without login Plain text file resize.php Example Arquivo para testar a Classe

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:909
This week:310Up
User Ratings User Comments (4)
 All time
Don't work
9 years ago (Sebastien)
Need comments in english
11 years ago (paul alexandru)
Please translate code comments.
12 years ago (Daniel Drejer)
Excellent and very concise.
13 years ago (Juan Sanchez)
For more information send a message to info at phpclasses dot org.