This class can be used to perform operations to manipulate graphical images.
It create a new image of a given size or load an image from a file in GIF, JPEG or PNG formats to perform one or more image manipulation operations.
Currently it can perform the following operations:
- Resize the image optionally preserving the size proportion
- Apply several types of filter effects like: negate, grayscale, edge detect, blue, adjust contrast or brightness, smooth, emboss, mean removal, colorize and sepia
- Rotate the image by a given angle
The manipulated images may be saved to files or served as the current script output in the original image format.
The code comments are in Portuguese. |