PHP Classes

Auto-Crop: Crop images to remove edges with same color

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 1,450 All time: 2,700 This week: 39Up
Version License PHP version Categories
auto-crop 1.0GNU Lesser Genera...5PHP 5, Graphics
Description 

Author

This class can be used to crop images by removing edges with same color.

It can load a GIF, JPEG or PNG image and scans it to detect edges color, so it crops the image to remove the edge areas that have the same color around it.

The cropped image is outputted in the same format as the original image.

Picture of J. Pape
Name: J. Pape <contact>
Classes: 2 packages by
Country: The Netherlands The Netherlands
Innovation award
Innovation award
Nominee: 1x

 

Screenshots (4)  
  • before
  • result
  • Step1
  • Step2
  Files folder image Files (5)  
File Role Description
Plain text file autocrop.php Class class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,450
This week:0
All time:2,700
This week:39Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2709
 
Perfect.
15 years ago (fabuio)
60%StarStarStarStar