We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_Vector.zip the attached svg file can be open by chrome ,and show it.
but when i try to convert it by svglib,it show all white.
Code As: import svglib from svglib.svglib import svg2rlg from reportlab.graphics import renderPDF, renderPM
drawing = svg2rlg("test_Vector.svg") renderPDF.drawToFile(drawing, "test_Vector.pdf") renderPM.drawToFile(drawing, "test_Vector.png", fmt="PNG") renderPM.drawToFile(drawing, "test_Vector.jpg", fmt="JPG")
error output Can't handle color: #F72D50FF Can't handle color: #FFFFFFFF
env win10 1903 python 3.7.4 svglib 0.9.2
The text was updated successfully, but these errors were encountered:
Fixes deeplook#213 - Support alpha channel in color values
4584393
a1dd425
2c5044f
4eafcb2
No branches or pull requests
test_Vector.zip

the attached svg file can be open by chrome ,and show it.
but when i try to convert it by svglib,it show all white.
Code As:
import svglib
from svglib.svglib import svg2rlg
from reportlab.graphics import renderPDF, renderPM
drawing = svg2rlg("test_Vector.svg")
renderPDF.drawToFile(drawing, "test_Vector.pdf")
renderPM.drawToFile(drawing, "test_Vector.png", fmt="PNG")
renderPM.drawToFile(drawing, "test_Vector.jpg", fmt="JPG")
error output
Can't handle color: #F72D50FF
Can't handle color: #FFFFFFFF
env
win10 1903
python 3.7.4
svglib 0.9.2
The text was updated successfully, but these errors were encountered: