unjs / unjs/ipx

add rounded edges modifier

Open
#187 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
2.5k
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Describe the feature

Could you please add rounded edges modifier so we can specify radius and output rounded/circular images?

Found few examples of implementation in Sharp, unfortunately its beyond me to contribute this feature.

https://github.com/lovell/sharp#stream
https://github.com/lovell/sharp/issues/2268#issuecomment-684814762
https://github.com/lovell/sharp/issues/3467#issuecomment-1325008545

thank you

Additional information
  • Would you be willing to help implement this feature?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Sharp documentation and linked Sharp issues for the rounded-corner behavior requested here, then trace how ipx handles image modifiers. Done means ipx accepts a radius and produces rounded or circular output, with coverage for the supported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.