Skip to content

exported image color #33

Answered by vinothpandian
lkevinzc asked this question in Q&A
Discussion options

You must be logged in to vote

That's a very interesting find. The underlying logic to convert SVG sketch to PNG for download is by rendering it on the web canvas. This issue might be due to rasterization.

Can you try exporting it directly as SVG and then rasterizing it in python? Maybe you can use svg2png function in cairosvg for better rasterization.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lkevinzc
Comment options

Answer selected by vinothpandian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants