Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,369
» Latest member: Aquilax
» Forum threads: 6,675
» Forum posts: 36,361
Full Statistics
|
|
|
How to Import SVG through console as done through UI |
Posted by: kthedude - 02-15-2024, 03:24 AM - Forum: Scripting questions
- Replies (3)
|
|
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
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.
|
|
|
Using Filters->Render->Spiral from pyfu not in procedure browser |
Posted by: TheMaharishi - 02-13-2024, 08:54 AM - Forum: Scripting questions
- Replies (5)
|
|
I am going insane. I go into the python console and press browse. If I enter "spiral" in the search box nothing comes up. If I switch to "description" which some online tutorial said would catch the hoover text. There is still nothing.
I just don't get it?!? Is the spiral renderer glued on top of something else that I have to use when writing scripts in the backend? If so what function?
I am on 2.10.36 if that is relevant but I think spiral has been there since I first installed years ago.
|
|
|
|