Skip to content

milaxcom/PHPImageCorners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

PHPImageCorners

Editing the corners of the image using php

EXAMPLE

<?php
/** Load Library. */
include "PHPImage.php";

/* Create Instance class and load specified image. */
$Img	= PHPImageLoad( "01.jpg" );
/* Download and apply the given mask around the edges. */
$Img->cornerMask( "r15.png" );
/* Print to brouser. */
$Img->write();

/** OR */
PHPImageLoad( "01.jpg" )->cornerMask( "r15.png" )->write();

/* If you need save image to file, use `saveToFile("new_01.jpeg")` instead `write()`. */
PHPImageLoad( "01.jpg" )->cornerMask( "r15.png" )->saveToFile("new_01.jpeg");
?>

About

Editing the corners of the image using php

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages