PHP Classes

PHP Image Round Corners: Create pictures with rounded corners from original

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 66 This week: 1All time: 10,322 This week: 560Up
Version License PHP version Categories
roundit 1.0.0Custom (specified...4.3.2PHP 5, Graphics
Description 

Author

This class can create pictures with rounded corners from original.

It takes an image in several different formats and creates a new image which is a rounded version of the original.

The class can round pictures of any size like the way user's avatar of many Web sites look like.

Picture of zinsou A.A.E.Moïse
  Performance   Level  
Name: zinsou A.A.E.Moïse is available for providing paid consulting. Contact zinsou A.A.E.Moïse .
Classes: 50 packages by
Country: Benin Benin
Age: 34
All time rank: 6781 in Benin Benin
Week rank: 109 Up1 in Benin Benin Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

Example

<?php
require_once('simplyRoundit.class.php');
echo((new
roundit('./photo.PNG',300))->round());
echo((new
roundit('./photo.PNG',250))->round());
echo((new
roundit('./photo.PNG',200))->round());
echo((new
roundit('./photo.PNG',150))->round());
echo((new
roundit('./photo.PNG',100))->round());
echo((new
roundit('./photo.PNG',75))->round());
echo((new
roundit('./photo.PNG',50))->round());
echo((new
roundit('./photo.PNG',40))->round());
echo((new
roundit('./photo.PNG',20,'little','little','little'))->round());
echo((new
roundit('./photo.PNG',35,'little','little','little'))->roundItButResize('photo1.png'));
echo((new
roundit('./photo.PNG',10))->round());
echo((new
roundit('./photo.PNG',40))->round());
echo((new
roundit('./photo.PNG',50))->round());
echo((new
roundit('./photo.PNG',100))->round());
echo((new
roundit('./photo.PNG',150))->round());
echo((new
roundit('./photo.PNG',200))->round());
echo((new
roundit('./photo.PNG',250))->round());
echo((new
roundit('./photo.PNG',300))->round());

?>


Details

Roundit is simple class which allows user to round any size of picture just as the PHPCLASSES user's avatar and many other modern websites user's avatar look like... The package can be used on PHP >=4.3.2 See the testSimplyRoundit.php file for a how to use example... For bug reporting just use the forum or feel free to contact me at leizmo@gmail.com...

Screenshots  
  • screenshot.PNG
  Files folder image Files  
File Role Description
Accessible without login Plain text file license.txt Lic. license file
Accessible without login Image file photo.PNG Data auxilliary data
Accessible without login Plain text file readme.txt Doc. readme
Plain text file simplyRoundit.class.php Class class source
Accessible without login Plain text file testSimplyRoundit.php Example example script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:66
This week:1
All time:10,322
This week:560Up