Open Towhid1 opened 1 year ago
import pillow_svg.SvgImagePlugin from PIL import Image file = "image_emb/sample_640×426.svg" svg_image = Image.open(file) svg_image.show()
got error :
Traceback (most recent call last): File ".\pilsvg.py", line 5, in <module> svg_image = Image.open(file) File "D:\Client\venv\lib\site-packages\PIL\Image.py", line 3030, in open raise UnidentifiedImageError( PIL.UnidentifiedImageError: cannot identify image file 'image_emb/sample_640×426.svg'
I did the same thing, got the same error, but I am attaching my SVG file so someone can reproduce the problem.
got error :