You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert an SVG to PNG using the sharp. The conversion happens without any issues but the text present in the SVG is not properly aligned in PNG. I assume the y attribute of the text is not properly picked up during the conversion.
When you searched for similar issues, what did you find that might be related?
Can't find anything related to this issue.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
This is the SVG that I'm trying to convert to PNG.
Question about an existing feature
What are you trying to achieve?
I'm trying to convert an SVG to PNG using the sharp. The conversion happens without any issues but the text present in the SVG is not properly aligned in PNG. I assume the
y
attribute of the text is not properly picked up during the conversion.When you searched for similar issues, what did you find that might be related?
Can't find anything related to this issue.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
This is the SVG that I'm trying to convert to PNG.
Used the following snippet to convert this into PNG
Please provide sample image(s) that help explain this question
The following is the screenshot of the SVG opened in browser
The following is the generated PNG. Notice that the text below the nodes are slightly moved upwards
The text was updated successfully, but these errors were encountered: