Strange anomaly's on crispEdges
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 348
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
when rendering

the result is

please note the upper right anomaly. It also occurs for other files:


again, look at the top right.
I have other examples in which it is not just the top right, but i think this will be sufficient.
these are produced with `resvg -w "64" -h "64" --shape-rendering crispEdges "svg_file.svg" "out_file.png"`
when not using `crispEdges`, it does not produce any anomaly's, however it anti aliases the image, which is contrary to my wishes.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied SVG-to-PNG examples with resvg using --shape-rendering crispEdges, comparing them with output without that option. Trace the crispEdges rendering path and determine why an upper-right anomaly appears; done means the examples render without the artifact while retaining non-antialiased crispEdges output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100