It is currently Thu Sep 24, 2026 6:48 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Trace
PostPosted: Thu Nov 17, 2011 11:24 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
GIMP Version: 2.7
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level



One of the best it:
http://registry.gimp.org/node/21349
It works in Linux (Ubuntu).
I once read that also in XP - unfortunately not able to cope - how?

_________________
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Trace
PostPosted: Thu Nov 17, 2011 11:58 am  (#2) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
I see that it requires autotrace to work. Where did you find a Linux copy?

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Trace
PostPosted: Thu Nov 17, 2011 12:36 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
For Ubuntu (first ever) I use the Synaptic.
Autotrace http://autotrace.sourceforge.net/
Potrace http://potrace.sourceforge.net/#downloading

_________________
Image


Top
 Post subject: Re: Trace
PostPosted: Thu Nov 17, 2011 2:24 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16174
I installed this in Gimp-2.6.11 for Windows xp 32 bit a while back and could never get it to work.
Do you have to place a autotrace shortcut in the plug-ins folder? I never tried that.


Top
 Post subject: Re: Trace
PostPosted: Thu Nov 17, 2011 2:43 pm  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2615
Looks very dubious for windows, I also tried it in my WinXp machine, put all the autotrace binaries in their own directory and added it to the path.

Still throws up lots of errors, there are some obvious 'linux roots' in the script - line 206 refers to /bin/autotrace but even correcting this, it fails when it tries to make the temporary svg file.

@Oregonian - linux autotrace, look no further than your linux repo. It is there in PCLOS, the 'buntu repos and from memory Debian.


Top
 Post subject: Re: Trace
PostPosted: Thu Nov 17, 2011 3:15 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Just wanted to mention that Autotrace doesn't work in Win7 64-bit period but still works in my XP VM. Potrace works fine win Win7. I personally just feed a bitmap into my Autotrace batch file and voila, so don't see a reason anyway to use this Python script. Just wanted to save some pain for those trying to get this or Autotrace itself to work in Win7 64-bit (because it won't). Wish they would update Autotrace, but they haven't done so for way too long. Potrace has been maintained. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Trace
PostPosted: Thu Nov 17, 2011 5:12 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
In Gentoo Linux the last version of autotrace is dated Oct 23 2011.
So at least the Linux version is still maintained.
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
 Post subject: Re: Trace
PostPosted: Thu Nov 17, 2011 8:34 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16174
I tried it and got this error
Traceback (most recent call last):
File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 692, in response
dialog.res = run_script(params)
File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 353, in run_script
return apply(function, params)
File "C:\Documents and Settings\Compaq_Owner.FAMILY-ROOM\.gimp-2.6\plug-ins\plugin-trace.py", line 263, in plugin_main
vectors = pdb.gimp_image_get_vectors(svgimage)
UnboundLocalError: local variable 'svgimage' referenced before assignment

How do i assign the svgimage variable?


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group