samedi 1 avril 2017

Cut corners in image PHP

Im working with Intervention Image to make a frame. Now im stuck on a part to cut off the edges. I need 4 of those images to make them fit as a frame. I know i can use the Intervention Image library to rotate the image, but i have no clue to cut those corners. Anyone has a idea how to achieve this?

Original:

Result:



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire