PHP Classes
Icontem

Class: Crop Canvas


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrew Collington  >  Crop Canvas  >  Download  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Crop Canvas Support forum
Base name: crop-canvas
Description: A class to crop images in a variety of ways.
Related top rated classes: , ,
Version: -
Required PHP version: -
License: Free for non-commercial use
All time users: 3705 users
All time rank: 504
Week users: 24 users
Week rank: 212
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Trackback   Applications   Related links   Files Files  

Author

Picture of Andrew Collington
Name: Andrew Collington <e-mail contact>
Published packages: 13 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Home page: http://php.amnuts.com/
Age: 35
All time rank: 38
Week rank: 125

Groups

Group folder image Graphics Colors, images, charts and picture formats View top rated classes

Detailed description

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!)

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (96.9%)
Good (90.6%)
-
Good (82.8%)
-
-
Sufficient (65.8%)
343
Month:
There are not enough user ratings to display for this class.

Trackback links

Link Description
Image crop and save script (DHTML interface) I’ve always thought the way Digg allows you to crop profile images was pretty cool...
The Springleap web based image manipulation bundle For a while now I have been wanting to share a few scripts to help visitors with image manipulation...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Demo of class A demonstration of the cropping class and cropping interface.
Forum The forum for the class
Homepage The class' homepage

Files

File Role Description
Plain text file class.cropcanvas.php Class The main class file.
Plain text file class.cropinterface.php Class A web-based interface to the crop canvas class.
Plain text file inc.cropimage.php Aux. Dynamically outputs a resized image.
Plain text file inc.cropinterface.php Aux. The client-side code for the cropping interface.
Plain text file inc.cropjavascript.php Aux. Initiates elements to be handled by javascript.
Plain text file test.cropcanvas.php Example Just to show a few ways the class can be used.
Plain text file test.cropinterface.php Example Demo of cropping interface
Plain text file wz_dragdrop.js Aux. The drag & drop javascript behind the cropping interface. This code is created by Walter Zorn (http://www.walterzorn.com/dragdrop/dragdrop_e.htm).
Download all files: crop-canvas.tar.gz crop-canvas.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products