Search code examples
phpimagick

rounding individual corners with php/imagick


is it possible to round individual corners with the imagick extension?

imagick::roundedCorners() seems to only do all 4 corners


Solution

  • Perhaps take a copy of each corner before applying roundedCorners, then overlay each corner that you don't want rounding back over the original.