Re: [Gimp-user] "Selection to Path" accuracy
Hi, Sven Neumann <[EMAIL PROTECTED]> writes: > The best way to create a path that represents a perfect circle is > probably to import an SVG from a vector editor or to open the > Script-Fu console and use something like > > (gimp-path-import-string 1 "" -1 0 0) As Simon and me just figured out, this doesn't work correctly due to a bug in the SVG parser. As a workaround, until the fix reaches you, you can use . Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] "Selection to Path" accuracy
Sven Neumann ([EMAIL PROTECTED]) wrote: > Adam Cooper <[EMAIL PROTECTED]> writes: > > > Anyway, I am trying to create a relatively small (approx 20~30px > > across) circle. > > The best way to create a path that represents a perfect circle is > probably to import an SVG from a vector editor or to open the > Script-Fu console and use something like > > (gimp-path-import-string 1 "" -1 0 0) For now better use , as Sven found out the circle element has a bug that has just been fixed in CVS HEAD. This will be fixed in 2.2.11. > Yes, we should definitely add an easier way to do this, especially > since all the functionality for basic shapes is already available in > GIMP, it is just not exposed in any usable way. In CVS head there also is (gimp-vectors-bezier-stroke-new-ellipse ...) which could be used, but arguably the SVG import is still simpler since it immediately creates a path object, which needs to be created manually for -stroke-new-ellipse first. This will not be backported to 2.2.x, you have to wait for 2.4 to see this in a stable release. Bye, Simon -- [EMAIL PROTECTED] http://simon.budig.de/ ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] "Selection to Path" accuracy
Hi, Adam Cooper <[EMAIL PROTECTED]> writes: > Anyway, I am trying to create a relatively small (approx 20~30px > across) circle. The best way to create a path that represents a perfect circle is probably to import an SVG from a vector editor or to open the Script-Fu console and use something like (gimp-path-import-string 1 "" -1 0 0) Yes, we should definitely add an easier way to do this, especially since all the functionality for basic shapes is already available in GIMP, it is just not exposed in any usable way. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Fwd: Re: [Gimp-user] "Selection to Path" accuracy]
Just thought this might be more useful on the list. ;-) On an added note. I gave up trying to use these options. The advice given was excellent and got me a lot closer. But at that scale it just couldn't produce the clean circle I wanted. I came away with 2 options; 1. Make a big circle and scale down (works well). 2. Hand build a perfect symmetrical path. I went with option 2 in the end and I'm happy with the results. Thanks very much Adam P.S. Give us your number and I will fax it to you. It's authentic and everything (got a ridiculous student debt to prove it). Although it's a Comp. Sci. it didn't help much :-D --- Begin Message --- Hi, Adam Cooper wrote: But, hang on, whilst hovering over the "Selection to Path" button it tells me I can press shift to get "Advanced options". Whoa there. They're not advanced options, they're uber-extra-super advanced options. Do you need a degree to use them? Well, yes. Fax me your B.Sc. and I'll put you on track. What exactly do I need to alter to encourage my path to more accurately follow the selection boundaries? Joking... Essentially, all the "small" numbers (<1) can be made smaller to improve the outline. The numbers around 1 - 5 you'll probably have to mouse-over, and guess. 'corner surround' could be a bit bigger, 'Filter iteration count' can go up to 8 or 10, "filter percent' can get tuned down to 0.2 or so, 'subdivide search' should be as small as is reasonable - 0.01 for example. 'Subdivide threshold' can also get a little bit smaller (but not too much). Play around :) Cheers, Dave. -- Dave Neary [EMAIL PROTECTED] Lyon, France --- End Message --- ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] "Selection to Path" accuracy
Hi, Adam Cooper wrote: But, hang on, whilst hovering over the "Selection to Path" button it tells me I can press shift to get "Advanced options". Whoa there. They're not advanced options, they're uber-extra-super advanced options. Do you need a degree to use them? Well, yes. Fax me your B.Sc. and I'll put you on track. What exactly do I need to alter to encourage my path to more accurately follow the selection boundaries? Joking... Essentially, all the "small" numbers (<1) can be made smaller to improve the outline. The numbers around 1 - 5 you'll probably have to mouse-over, and guess. 'corner surround' could be a bit bigger, 'Filter iteration count' can go up to 8 or 10, "filter percent' can get tuned down to 0.2 or so, 'subdivide search' should be as small as is reasonable - 0.01 for example. 'Subdivide threshold' can also get a little bit smaller (but not too much). Play around :) Cheers, Dave. -- Dave Neary [EMAIL PROTECTED] Lyon, France ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user