linebender / linebender/resvg

External svg image error: filter crops image

Open
#338 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
4.1k
Forks
348
Avg merge
1d 14h
Merged PRs (30d)
3

Description

The filter in linked SVG just crops the image from zero to original size,
ignoring its coordinates and transformations.

![Filterd svg image](https://user-images.githubusercontent.com/29166758/102209953-3b15a900-3eda-11eb-8327-372a7c984a9b.jpg)
[Sample.zip](https://github.com/RazrFalcon/resvg/files/5695533/Sample.zip)

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 unpacking Sample.zip and reproducing the linked SVG filter rendering described in the issue. Trace how external SVG filters apply image coordinates and transformations, then verify the rendered result against the attached example. Done means the filtered image no longer crops to its original bounds and preserves the expected coordinates and transformations.

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
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.