Kozea / Kozea/CairoSVG

is there any support for clippath?

Open
#343 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
951
Forks
166
PR merge metrics
No merged PRs in 30d

Description

There is a rect path with yellow color and a circle clippath around the rect in the svg.

In web explorer, the color works fine for showing the yellow color.

However, it all goes black when it is converted to png. Can I solve this problem? Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the SVG-to-PNG conversion described in the issue, using a rectangle with yellow fill and a circular clipPath. Inspect the conversion path for clipPath handling; the work is done when the clipped rectangle retains its yellow color instead of rendering black.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.