PHP Classes

File: testSimplyRoundit.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   PHP Image Round Corners   testSimplyRoundit.php   Download  
File: testSimplyRoundit.php
Role: Example script
Content type: text/plain
Description: example script
Class: PHP Image Round Corners
Create pictures with rounded corners from original
Author: By
Last change:
Date: 6 years ago
Size: 1,022 bytes
 

Contents

Class file image Download
<?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());

?>