It is currently Sat Jun 15, 2024 6:28 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 312 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 16  Next
Author Message
 Post subject: Re: Multi-Fill Script Help
PostPosted: Sun Jun 26, 2011 3:20 pm  (#61) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2011
Posts: 1764
I really like that stained glass one...


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Sun Jun 26, 2011 3:22 pm  (#62) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2011
Posts: 1764
oops...I think I put my post in the wrong thread ...meant it for the patchwork one


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Sun Jun 26, 2011 6:22 pm  (#63) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2011
Posts: 1764
Where did you put the patterns folder mahvin??? I just had ago at this but I went off to shower and when I came back it ws still seemingly filling with random patterns...I know not from whence but obviously the thing had crashed...perhaps because I didnt have anything in a patterns folder maybe......I've just rebooted GIMP and trying again but I fear the same thing is going to happen. LOL


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Sun Jun 26, 2011 7:28 pm  (#64) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
I made my own Patterns folder (I use this script to test glass textures with my stained glass patterns). So I created a Parent pattern folder (you can put this anywhere you want) and put various sub-folders with different glass colors and textures for testing. You HAVE to point the script to your particular pattern folder, it will not find it automatically on its own. Also, I didn't name my folders "Patterns" because I wanted to avoid confusion, so mine are named after the glass textures instead.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Mon Jun 27, 2011 4:00 am  (#65) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2011
Posts: 1764
ok I'll try that thanks Mahvin
I'm assuming they are jpg


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Mon Jun 27, 2011 4:07 am  (#66) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
png and jpg

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Mar 29, 2013 11:07 pm  (#67) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Here are 2 off my images, 1 using patterns, and 1 using gradients

Patterns from one of my gurn folders

Image

Using random gradients

Image

to get the result from gradient choices I slightly modified the script

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Sat Mar 30, 2013 6:53 pm  (#68) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Gurm is a very good program for storing your additional brushes, patterns, gradients, and palettes

it's another great program from RobA Available here

Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Sat Mar 30, 2013 7:24 pm  (#69) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
This is the modified Flatting Tools script that I used

Image

Image

Flatting Tools with modified gradient options↓

Attachment:
FlattingTools.scm [16.07 KiB]
Downloaded 132 times

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Sat Mar 30, 2013 10:26 pm, edited 1 time in total.

Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 10:59 am  (#70) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Multi-fill called on an image with transparent areas goes into an endless loop.
To double-check:
-call script Pursuit Curve, with default parameters
-the result is a drawing with black lines on a transparent area
-now call Multi-fill, with default parameters
.......endless loop.....
please help, thanks!

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 11:10 am  (#71) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
IMO, a script should, when called using default parameters:
- either work with acceptable results
- or notify with a message or something else that the base image is not acceptable
Thanks

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 11:31 am  (#72) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
I used the available topic which says "...help", but in fact I was trying to notify what -IMO- there is a missing piece in the script, either to take care also of the transparent areas or to inform the user about the requirement to have NO transparent areas in the base image.
Hopefully RobA will sooner or later read this post...

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 11:49 am  (#73) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Yes, the script is very nice, I agree, it just needs some...clever interventions!

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 12:33 pm  (#74) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
dinasset wrote:
Multi-fill called on an image with transparent areas goes into an endless loop.
To double-check:
-call script Pursuit Curve, with default parameters
-the result is a drawing with black lines on a transparent area
-now call Multi-fill, with default parameters
.......endless loop.....
please help, thanks!
I see what you mean about the MultiFill endless loop, an error message the script couldn't proceed would have been helpful. Once I forced the shutdown of the MultiFill script I had to re-start Gimp because of various lost menu functions. This was when I ran Pursuit Curve, with default parameters. It seems Pursuit Curve need one of the Polygon fill options to work with MultiFill.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 1:12 pm  (#75) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
just another indication about the script:
if I choose for Fill Type option 5 or 6 (gradient...)
the script at the end works, but I get a lot of this messages "Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed."

edit: even if I comment out all the lines related to "progress" (?)

edit 2: it only happens with the drawing created with the Pursuit Curve (having added a white layer below and flatting the image, to have the areas all white, as I do for any other option of Fill Type, otherwise none works as stated in a previous post)
if I just create a new white image and draw with a pencil various black lines, I do not get those messages...

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 10:06 pm  (#76) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
@odinbc
because I feel myself uncomfortable with having the mentioned messages show up only with the draw created with the Pursuit and not with a draw hand made by myself, I did a lot of experiment, increasing at each run the complexity of the drawing, and eventually I got the same messages about GimpPdbProgress callback also using my drawing.
I don't understand whether this happens because of the number of areas or the too many different area sizes, anyhow I attach here the original drawing and the filled one (result is always OK); if you both can experiment trying to multi-fill my original with option gradient, let me know your results, thanks.
Attachment:
draw.png
draw.png [ 6.77 KiB | Viewed 1790 times ]
Attachment:
draw-filled.png
draw-filled.png [ 98.6 KiB | Viewed 1790 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 10:34 pm  (#77) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Two examples, one of each gradient fill option, with similar results to yours.

Image

The same Gimp error message each run of MultiFill with gradient option on your image.
Quote:
GIMP Error
Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed.

GIMP Error
Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed.

GIMP Error
Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed.

Gimp 2.8.6, Win32, MultiFill

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Wed Jun 26, 2013 10:37 pm  (#78) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
thanks odinbc!
does someone know when and why gimp issues those messages?

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Thu Jun 27, 2013 7:23 am  (#79) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
dinasset wrote:
IMO, a script should, when called using default parameters:
- either work with acceptable results
- or notify with a message or something else that the base image is not acceptable
Thanks


It does work correctly if you follow the directions of the multifill script.

Quote:
Multifill takes every background coloured space (selectable) and will fill them with sequential palette entries, or randomly. It does NOT check to see if adjacent colours are the same, but use of a large palette should reduce the likelihood.

It simply isn't designed to work with transparency.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Thu Jun 27, 2013 9:51 am  (#80) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Rod,
I'm not expert enough on scripts to know whether is it possible to understand (by code statements, I mean) the presence of transparent areas in the base image/layer:
1 - IF YES, when a script not only ignores those areas (which is acceptable), but is going into an endless loop if they are present (causing GIMP to be forced closed -see experience of odinbc in addition to mine), then IT SHOULD REFUSE to execute issuing a warning message
2 - IF NOT, it could be nice for the users to see a warning on top of the parameters windows informing "this script is unable to deal with transparent areas" or similar

_________________
"Where am I ?"


Top
Post new topic Reply to topic  [ 312 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 16  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Seeking Help with First Multi-File Batch Script

9

No new posts Palette from multi image

2

No new posts Attachment(s) Fill with pattern seamless

13

No new posts Line art detection bucket fill

0

No new posts Filled path not exporting with fill

4



* Login  



Powered by phpBB3 © phpBB Group