Tab Content
No Recent Activity

11 Visitor Messages

  1. View Conversation
    I asked about performance on the gimp mailing list. If all you want to do is call a bunch of pdb calls, then a tiny-fu scheme script will perform as well as a python or compiled C plugin. Where python and C will show improvement is in lower level access to the image, i.e. reading or manipulating the image data directly. So I wouldn't expect much speed improvement on the flatten.
    The multifill code is at it simplest a nested loop walking the image, looking for white. When it finds the white, it does a magic wand select then fills it appropriately.
    I added a few optimizations, like a select by colour (white) to get the bounds for the next iteration of the loop after finding white. If the bounds haven't changed, continue scanning the X; if it has changed start scanning from the upper left corner of the new bounds.
    Another optimization was to keep a channel copy of the selection = the white space. Rreading the xy value in a channel is faster then reading the colour.
    -Rob A>
  2. Fantastic. Thanks very much.
  3. View Conversation
    Follow this: http://wiki.gimp.org/gimp/HowToCompi...crosoftWindows

    which is the easiest way to set up a gimp compile environment, and compile gimp.

    This will also give you the gimptool-2.0 application and libs all set up for compiling plugins.

    -Rob A>
  4. View Conversation
    Here is a zip with the windows compiled plugin as well as the c code modified to register the plugin in the vector menu. You can diff it to see the required changes.
    http://ffaat.pointclark.net/incoming/smooth-path.zip
  5. View Conversation
    I have compiled it under windows. It would be real nice to get it under the Vectors menu so it shows up as a right click in the path panel.

    I'll ask on the gimp developer list, OK?

    -Rob A>
  6. View Conversation
    heh - devil is always in the details

    -Rob A>
  7. View Conversation
    I don't care. I rarely use or recommend the tapered stroke script anymore, as I use inkscape for must of my vector work. If you improve gimp's handling of vectors, that would only be an improvement!

    -Rob A>
  8. View Conversation
    If you don't use too many crazy dependencies I should be able to compile for windows, as I have a minGW/Msys build environment set up.

    -Rob A>
  9. View Conversation
    good luck with the c code. are you linux or windows?
  10. Are you sure? I will describe the algorithm in pseudocode and words, because I don't want you scratching your head over my spaghetti Pascal or C code (which has a lot of extra confusing baggage added to it). OK done. Here is my description/pseudocode of the algorithm:

    http://www.ludicity.org/files/algorithm.txt

    If it seems like too much work, don't worry about it, or just send me a starting template of script code, and then maybe I can try to do it myself. Whatever the case, thanks for your time.
Showing Visitor Messages 1 to 10 of 11
Page 1 of 2 12 LastLast
Page 1 of 2 12 LastLast
About ijontichy

Basic Information

About ijontichy
Biography:
boring
Location:
/home/ijontichy
Interests:
cartography, military history, computer programming, science, wargaming
Occupation:
professional gambler
Software Used:
GIMP

Statistics


Total Posts
Total Posts
4
Posts Per Day
0.00
Visitor Messages
Total Messages
11
Most Recent Message
11-08-2009 08:19 PM
General Information
Join Date
09-17-2009
Referrals
0

1 Friend

  1. RobA   RobA is offline

    Administrator

    RobA
Showing Friends 1 to 1 of 1