Gimp-Forum.net
Plugin-autotrace.py Ver 0.5 - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Plugin-autotrace.py Ver 0.5 (/Thread-Plugin-autotrace-py-Ver-0-5)

Pages: 1 2


Plugin-autotrace.py Ver 0.5 - denzjos - 10-05-2020

Anyone ever used this plugin? The one in the post (link here included) promise that it is working. I've tried to used it, placed the downloaded files in the /user/app/...but don't find the plugin in gimp (even with the plug-in browser). Any suggestions? Thanks in advance.
https://www.gimpscripts.net/search?updated-max=2020-09-25T04:03:00-07:00&max-results=7&start=7&by-date=false
Look under : Plugin-autotrace.py Ver 0.5


RE: Plugin-autotrace.py Ver 0.5 - rich2005 - 10-05-2020

The autotrace version? get the installer https://github.com/autotrace/autotrace/releases and install.
Copy autotrace.exe and libffi-6.dll into C:\Program Files\GIMP 2\bin  (the other files already exist in Gimp)

plugin-trace.py  goes in your user plug-ins folder  Registers in Filters -> Edge Detect -> Trace

Some screenshots: https://i.imgur.com/Pyw6Us2.jpg

Edit: Just had a look at the download from your reference. I still use version 0.4 plugin-trace.py attached in case you need it.


RE: Plugin-autotrace.py Ver 0.5 - Krikor - 10-05-2020

(10-05-2020, 10:56 AM)rich2005 Wrote: The autotrace version? get the installer https://github.com/autotrace/autotrace/releases and install.
Copy autotrace.exe and libffi-6.dll into C:\Program Files\GIMP 2\bin  (the other files already exist in Gimp)

plugin-trace.py  goes in your user plug-ins folder  Registers in Filters -> Edge Detect -> Trace

Some screenshots: https://i.imgur.com/Pyw6Us2.jpg

Edit: Just had a look at the download from your reference. I still use version 0.4 plugin-trace.py attached in case you need it.

rich2005, as I understand it:
The plugin-trace.py goes in your user plug-ins folder;
The autotrace.exe and libffi-6.dll into C: \ Program Files \ GIMP 2 \ bin;
Other files go to C: \ Program Files \ Auto Trace \

Does this mean that there is no way to use this plugin in portable versions?

Thx.


RE: Plugin-autotrace.py Ver 0.5 - denzjos - 10-05-2020

Rich, thank you for the answer. I've installed the trace program, placed all the files you mentioned in the right place, found the plugin in the gimp/filters menu and when I use the plugin on a simple character (black / 200 pixels) and set all the parameters as in your example then I get some errors and the program is stopping.
  [attachment=5022]


RE: Plugin-autotrace.py Ver 0.5 - rich2005 - 10-05-2020

@denzjos

Best Guess is the BMP export dialog. Make sure compatibility is enabled and then click on export. Otherwise you get those errors. Easy to miss if the dialog pops up under the trace path dialogue.

Only thing I can do is show it working https://i.imgur.com/Q6iLIRj.mp4

@Krikor

Install Autotrace
Copy the autotrace.exe file to X:\Gimp-2.10.xx_Portable-32-64bit-Win\lib
libffi-6.dll is already there but check anyway
plugin-trace.py goes in the Preferences plug-ins folder

Then as above. Just tried it with Gimp-2.10.21_Portable-32-64bit-Win and it works here.


RE: Plugin-autotrace.py Ver 0.5 - Krikor - 10-05-2020

(10-05-2020, 05:50 PM)rich2005 Wrote: @Krikor

Install Autotrace
Copy the autotrace.exe file to X:\Gimp-2.10.xx_Portable-32-64bit-Win\lib
libffi-6.dll is already there but check anyway
plugin-trace.py goes in the Preferences plug-ins folder

Then as above. Just tried it with Gimp-2.10.21_Portable-32-64bit-Win and it works here.

Thank you very much rich2005!

Running without errors here!


RE: Plugin-autotrace.py Ver 0.5 - vpkumar - 10-06-2020

I have never used this plug in . Could you please let me know what this plug in actually does. Will it detect any errors in my Py plugins.


RE: Plugin-autotrace.py Ver 0.5 - rich2005 - 10-06-2020

(10-06-2020, 07:04 AM)vpkumar Wrote: I  have never used this plug in . Could you please let me know what this plug in actually does. Will it detect any errors in my Py plugins.

No. It is used for generating a path, either outline or center-line from an image. Typically from a simple image , a logo or similar.


RE: Plugin-autotrace.py Ver 0.5 - denzjos - 10-06-2020

Rich, I checked everything but I still get the error. I looked in the gimp workspace folder and I've seen that the . svg file is empty (zero length). The .bmp file is ok, so in this stage of the program there is no error. The gimp program is installed on the D drive (autotrace.exe and libffi-6.dll into D:\Program Files\GIMP 2\bin) and the files are written in the D:/gimp workspace folder. 
[attachment=5024]


RE: Plugin-autotrace.py Ver 0.5 - rich2005 - 10-06-2020

Sorry, cant reproduce other than as indicaded earlier. Another one for your wastebin
---------------
Edit: Still unable to replicate the error.
Installed Windows Gimp 2.10.20 (installer 1) to local Drive F:   in a " Program Files" (why do you have a "Program Files" on your Drive D: ?) 
..and trace works.

You can check that Autorace works. Open a terminal in Gimp bin folder and run Autotrace.exe -version. If it is working then:

[attachment=5025]

Since bmp format does not work for you, then unlikely that the alternative image format PPM will work. Give it a try.