PHP Classes
Icontem

Class: Remove Border From Image


  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 Pawel Antczak  >  Remove Border From Image  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Remove Border From Image Support forum
Base name: removeborderfromimag
Description: Crop images by removing common color borders
Related top rated classes: , , ,
Version: 1.1
Required PHP version: 5
License: Freeware
All time users: 486 users
All time rank: 3665
Week users: 0 users
Week rank: 3306
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Screenshots

example
File Role Description
Accessible without login Image file example Screen example

Author

Picture of Pawel Antczak
Name: Pawel Antczak <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Home page: ???
Age: 28
All time rank: 2033
Week rank: 1973

Innovation Award

PHP Programming Innovation award winner
March 2009
Winner
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

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

Detailed description

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.

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%)
1116
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

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.

 
  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