Kozea / Kozea/CairoSVG

Specific xlink href baseUrl

Open
#163 1 comment 1 reaction 0 assignees View on GitHub
feature
Dominant language
Python
Stars
951
Forks
166
PR merge metrics
No merged PRs in 30d

Description

If I well understood, when converting a svg to png, the attribute is parsed for the contained url.
However in some cases this url is relative; if I try to convert such kind of images on my machine when the svg image was downloaded from the internet, the python library looks for the link and then looks for the resource in the current folder, not in the remote baseUrl. Is it possible to specify this last somehow ?

Thanks in advance for the information

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how SVG URLs are resolved during SVG-to-PNG conversion, especially when the referenced URL is relative. Determine how a remote base URL could be supplied, then verify that relative resources resolve against it rather than the current folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.