12-29-2023, 12:59 AM
(12-28-2023, 09:42 PM)Someone Wrote: GIMP 2.10.32 Python Console
Python 2.7.18 (default, Oct 27 2021, 07:49:35) [GCC 11.2.0 64 bit (AMD64)]
➤> image = gimp.image_list()[0]
➤> pdb.gimp_vectors_import_from_file(image,"label.svg", False, False)
Traceback (most recent call last):
File "<input>", line 1, in <module>
RuntimeError: No paths found in 'C:\Users\bhujl\label.svg'
➤>
This means that label.svg doesn't appear to have meaning full content. I get this message if I use an empty SVG file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="250" height="250">
<defs>
</defs>
</svg>
So what have you got in that file?