Scanlines2.py by Werner Hartnagel

This python plug-in was part of Python archive found at Werner Hartnagel's sourceforge site located at:

http://python-fu.sourceforge.net/

I had to define a second pattern layer (pat_lay2 - "Scanlines2") in order to keep the plugin from throwing an error when the mask option is set to NO. The error indicated that the layer had already been added to the image, so it appears gimp_edit_clear wasn't clearing the pat_lay from memory, just from the image. To offset the error, the newly pat_lay2 substitutes for pat_lay and adds a transparent empty layer named scanlines2 to the top of the layer dialog. Using the mask option works without errors.

I got this plugin working with Vista 64, Vista 32, XP on GIMP 2.6.7

AttachmentSize
scanlines2.py1.62 KB
0

Comments

http://python-fu.sourceforge.

http://python-fu.sourceforge.net/ works fine for me but initially i really got stuck. i dont know but anyhow mange to do to and now i error free results i got. i am using XP on GIMP 2.6.7 in which this plugin is working fime for me.

That's a good point

I'd recommend that anyone first try the plug-ins from http://python-fu.sourceforge.net/ before using this one. The original plugin worked fine on Vista as long as the mask option was set to YES. If mask was set to NO it threw errors as I indicated. I'm glad it's working fine for you in XP.

What does this plugin do

Is this where I can draw a design on paper, scan it in, open it in Gimp, then use this plug in to seperate the drawing from the blank (paper) space. So that I can color within the lines?

No, this isn't a scanner script

See the examples of what this script does, here: http://www.mahvin.com/images/scanexample.png When Mask is set to NO, it uses the foreground color for the bar width. When Mask is set to YES, the space width is masked from the image.
Syndicate content