I want to crop images in PHP. Cropping in rectangular shape is all common and easy to do.
Can you guide me that how i can crop image in shape other than square like in oval or round shape.


I want to crop images in PHP. Cropping in rectangular shape is all common and easy to do.
Can you guide me that how i can crop image in shape other than square like in oval or round shape.


You can actually do that with ImageMagick ... See Crop or mask an image into a circle and Crop image into circle and add border for good examples
In addition to the previous answer, you can even blur the border with Image Magick's vignette effect, look for vignetteImage method.