Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages