Login   Register  
PHP Classes
elePHPant
Icontem

Remove Border From Image

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Pawel Antczak
Name: Pawel Antczak <e-mail contact>
Packages: 2 Browse all classes by Pawel Antczak Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 31
All time rank: 66220 in Poland Poland
Week rank: 236 Up10 in Poland Poland Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to crop images by removing common color borders.

It can load a picture and scan its border pixels to determine how thick is the border.

The sensibility level that is used to determine which pixels are in the border is configurable.

The class can crop the image be keeping on the interior inside the image border.

The resulting cropped image can be displayed in JPEG, PNG or GIF format, saved to a file or embedded in an HTML page.

  Classes of Pawel Antczak  >  Remove Border From Image  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Remove Border From Image
Base name: removeborderfromimag
Description: Crop images by removing common color borders
Version: 1.1
PHP version: 5
License: Freeware
All time users: 700 users
All time rank: 4054
Week users: 0 users
Week rank: 2380 Equal
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Files folder image Screenshots  
example
File Role Description
Accessible without login Image file example Screen example


  Innovation Award  
PHP Programming Innovation award winner
March 2009
Winner

Prize: One copy of the Zend Studio
Sometimes it is necessary to process images in such way that they occupy the least possible size. One way to do that is to remove exceeding border thickness.

This class can do that by cropping the image by eliminating the sides of the image that have approximately the same color around the whole image.


Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Good (83.3%)
-
Sufficient (75.0%)
-
-
Not sure (53.3%)
1314
Month:
Not yet rated by the users

  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.
  Files folder image Files  
File Role Description
Plain text file removeBorderFromImage.php Class main class
Image file img.jpg Output test image
Plain text file index.php Example sample usage

Download all files: removeborderfromimag.tar.gz removeborderfromimag.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.