Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Import SVG through console as done through UI
#1
I have don’t a lot of searching and I cannot find much on the ‘file-svg-load’ procedure. 

If I start gimp from the directory in which an SVG is located using 
Code:
gimp —verbose -b -

And then enter the following procedure

Code:
(file-svg-load 1 “infile.svg” “infile.svg” 90.0 0 0 0

The UI flashes for a moment but then nothing happens and I don’t see an error. And the console shows a number in parenthesis which I believe represents the returned image. Should O now be able to see the image in the UI? How can I use file-png-save-defaults with this image to save it? If so I don’t know what “drawable” to use.
Reply


Messages In This Thread
How to Import SVG through console as done through UI - by kthedude - 02-15-2024, 03:24 AM

Forum Jump: