Skip to content

how to create rounded images  #369

@sol0matrix

Description

@sol0matrix

Excellent module currently i am unable to figure out how to create rounded images using this however
with sharp overlayWith method i can create rounder corners with the code snippet from sharp Example below.

`const roundedCorners = new Buffer(
''
);

const roundedCornerResizer =
sharp()
.resize(200, 200)
.overlayWith(roundedCorners, { cutout: true })
.png();`

How can i achieve the same results ?
My use case is for user notifications thanks in advance
notification-demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions