This is a class allows you to crop an image in a variety of ways.
You can crop in an absolute or relative way (to a certain size or by a certain size), both as a pixel number or a percentage.
You can also save or display the cropped image.
The cropping can be done in 9 different positions: top left, top, top right, left, centre, right, bottom left, bottom, or bottom right.
Or you can have it automatically cropped based on a threshold value.
The original image can be loaded from the file system or from a string (for example, data returned from a database.)
It will also compensate so you can use GD versions 1.x or 2.x (though obviously 2.x will produce much better results!)
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (96.7%) |
Good (90.0%) |
- |
Good (83.3%) |
- |
- |
Sufficient (65.7%) |
343 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| Link |
Description |
| Demo of class |
A demonstration of the cropping class and cropping interface. |
| Forum |
The forum for the class |
| Homepage |
The class' homepage |