It is currently Mon Apr 15, 2024 7:02 am


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, 8 ... 16  Next
Author Message
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Jun 28, 2013 12:58 pm  (#91) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
I confirm also that the problem with the fill gradient in B/W applies only to the most recent version.
I was able to get back the previous version, reloaded with a different name not to override the last one, and I got fantastic gradient-fill results.
RobA: before you "hit" me, I've nothing against your script, it produces wonderful results, I'm sincere: All what I put here was -and is- to help you removing some pitfalls because I interpreted the role of a Gimp-Chatter acting also as a tester, so from time to time I perform a kind of "monkey test" on the plug-ins I find here.

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Jun 28, 2013 2:14 pm  (#92) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Again - what version of Gimp are you using, and what language is installed on your machine?

I am unable to reproduce your issues.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Jun 28, 2013 2:24 pm  (#93) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
the last line of my FIRST reply was:
(my environment is Win 7 32 bits, Gimp now at 2.8.6, was 2.8.4 previously)

edit: Odinbc reproduced immediately my problem on messages (probably, he has my same environment)
I asked him to try also on the new version to confirm or not my tests, but so far I didn't get a reply in here

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Jun 28, 2013 3:47 pm  (#94) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Gimp 2.8.6, Visa32, new v. MultiFill
(with Gradient fill options)

If I run MultiFill after samj Pursuit Curve, error message now,
GIMP Error wrote:
MultiFill Warning
Endless loop detected - flatting failed. Please uncheck 'Flatten After' and try again.
Rerun, unchecking 'Flatten After' result in no error, no loop & a black background.

If I run dinasset test image the result is the same as dinasset's image. Error 3 times,
GIMP Error wrote:
Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed.
I hope that info helps. :)

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


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Jun 28, 2013 3:54 pm  (#95) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
thanks Odinbc!
so it seems this time win 7 32 bits has no responsibility: you Odinbc run Ubuntu 12x
curious to know whether with a partially filled in Pursuit you also get "strange" dilated colours, as me

edit: I read now better, you did the test on Win Vista, not Ubuntu, sorry

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Thu Jul 04, 2013 1:51 pm  (#96) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Found some time to get back to this.

The image in viewtopic.php?f=8&t=1221&hilit=multifill&start=80#p99780 produces exactly the results I'd expect. The filter uses the identified colour (white) and treats everything else, including transparent areas as "not white" (as this was written initially to deal with scanned art which would have no transparency, typically). A workaround to get the results you want would be to run multi-fill, take the original copied layer and do "Alpha to selection" then invert the selection and on the multi-filled layer hit the delete key to delete the original transparent layers.

I'm changing the script to transfer the transparency of the source layer to the final layer, as this would "make sense" from a user perspective if there is transparency in the source layer:
Attachment:
mf_trans.png
mf_trans.png [ 32.71 KiB | Viewed 2815 times ]


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

appears to be a bug with the script-fu display window that randomly(?) occurs when calling "gimp-edit-blend" (as it ONLY happens with gradient modes). It is definitely repeatable, but random, since after adding additional debugging, it clearly happens for different sections even when rerunning on the same image repeated times.

If you runs the script and it causes this error, close the newly created image and rerun the script using ctrl+f (Filters->repeat) and it will run without the error... no matter how many times it is repeated (on my system) which is why I suspect the error is stemming from the gimp script-fu plugin when a script calls the gimp-edit-blend.

I also can't get it to happen from the scheme console, even when calling random fills in a tight loop, which lends more credence to the idea that it is a script-fu plugin GUI issue.

I'm changing the script to send errors to the error-log rather than the pop-up message box to the error is less intrusive.

Attached is an updated version - give it a try please and see if it does what you hope.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Last edited by RobA on Fri Jul 05, 2013 11:39 am, edited 1 time in total.

Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Thu Jul 04, 2013 3:26 pm  (#97) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Thanks Rob for your support!
Downloaded and given some tests.
1.using the new version (random colours fill) on a PursuitCurve filled alternatively white/ transparency, gives the desired result (attachment RobATransp)
2.using the new version (gradient fill) on a PursuitCurve completely filled with white gives still B/W gradients, while the (old) Graechan version produces nice random coloured gradients (attachments RobAGradient, GraechanGradient).
Could you double-check? Thanks
Attachment:
RobATransp.png
RobATransp.png [ 32.25 KiB | Viewed 2806 times ]
Attachment:
RobAGradient.png
RobAGradient.png [ 155.12 KiB | Viewed 2806 times ]
Attachment:
GraechanGradient.png
GraechanGradient.png [ 151.31 KiB | Viewed 2806 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Thu Jul 04, 2013 3:50 pm  (#98) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
dinasset wrote:
Thanks Rob for your support!
Downloaded and given some tests.
...
2.using the new version (gradient fill) on a PursuitCurve completely filled with white gives still B/W gradients, while the (old) Graechan version produces nice random coloured gradients (attachments RobAGradient, GraechanGradient).
Could you double-check?


Hi. There is an option. To use the fg-bg gradient, or random gradients. I could not remove the regular gradient options, as it is one I use regularly :)

Try it selecting the "Random" options rather than "FG to BG (RGB)".

-RobA>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Thu Jul 04, 2013 11:54 pm  (#99) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
OK, thanks Rob.
So far, I didn't change that parameter probably because -by using Graechan version- it is not required (maybe it does it by itself).
Yes, changing that parameter, I get coloured gradients, thanks.
Still one (very small) question: the default parameter says "FG to BG", but that's not true for me: I have BG / FG colours different from Black and White (I have and I tested having Red and Yellow), but if I leave that option the gradient produced is really Black to White, not BG to FG.
So, if this happens also in your environment, better to change the text, maybe...

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Jul 05, 2013 11:43 am  (#100) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Quote:
So far, I didn't change that parameter probably because -by using Graechan version- it is not required (maybe it does it by itself).


I took the idea from the Graechan version but changed it a bit, so that parameter is necessary to select random or not.

Quote:
Still one (very small) question: the default parameter says "FG to BG", but that's not true for me: I have BG / FG colours different from Black and White (I have and I tested having Red and Yellow), but if I leave that option the gradient produced is really Black to White, not BG to FG.


Thanks for catching that.... I wasn't resetting the colours to the context colours before blending...

Attached is a version with that fixed. If it looks OK, I'll also update the GPR version.

Thanks for the feedback.

-Rob A>


Attachments:
FlattingTools.scm [17.74 KiB]
Downloaded 163 times

_________________
Image
Fantasy Cartography and Mapping by RobA
Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Jul 05, 2013 12:11 pm  (#101) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
OK Rob, it works as expected!
I had red and green as FG/BG and this is the result:
Attachment:
new-grad.png
new-grad.png [ 122.27 KiB | Viewed 3422 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Thu Dec 17, 2015 1:34 pm  (#102) 
Offline
New Member

Joined: Dec 17, 2015
Posts: 3
Sorry for bringing up old message, but I was wondering if anyone still uses this script for 2.8?


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Mon Sep 23, 2019 1:09 pm  (#103) 
Offline
GimpChat Member

Joined: Sep 23, 2019
Posts: 31
Hello everyone.
I´m a new gimp user and i think this plugin will work awesome for me but i can´t find it anywhere to download.
Could please someone give me a download link?
thanks in advance


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Mon Sep 23, 2019 1:27 pm  (#104) 
Offline
GimpChat Member

Joined: Sep 23, 2019
Posts: 31
I was able to find it. Quick question. Would it be possible to fill the shapes within black lines and then after delete those black lines while keeping the fill together?
Don´t know how to explain it correctly, i´m looking for a way to erase the black line and don´t leave any blank space within the filled shapes.
Thanks in advance


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Mon Sep 23, 2019 2:03 pm  (#105) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1792
Location: France
regido
I'm not in the best position to answer you as level_0 ;) but I think now this script is no longer needed since the release of Gimp 2.10.10 and filling by line detection
https://www.youtube.com/watch?v=c6Cpj99Yp9A

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.14 (Samj),2.10.21 (Samj) and 2.10.23(Samj) OS Windows 10 Home 64 bits


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Tue Sep 24, 2019 1:10 am  (#106) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
I still use this often. It's fun for coloring pages etc. especially with custom palettes, and it can create a version without black lines.
Attached version of script that works in 2.10. Menu entry: Filters/Flatting.
Make sure you have "flatten after" enabled, then you will end up with the original layer on top, and a flattened colored without the black lines on bottom. And 0,0 at ignore and flag areas, so that even the smallest areas are filled with the palette color.
It's pretty slow if your image is big and includes lots of areas to fill.

Image


Attachments:
FlattingTools.scm [17.74 KiB]
Downloaded 79 times
Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Tue Sep 24, 2019 4:14 am  (#107) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1792
Location: France
:wvy
Thank you Nidhogg for these clarifications and the script.
It's amazing to see a 2011 script still running in 2019.
I will have fun with it. :)

Edit:
finally I am not very seduced by this filter and I prefer to use the current Gimp filling tool. :)

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.14 (Samj),2.10.21 (Samj) and 2.10.23(Samj) OS Windows 10 Home 64 bits


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Sep 27, 2019 10:36 am  (#108) 
Offline
GimpChat Member

Joined: Sep 23, 2019
Posts: 31
Thanks for your replies. I´m gonna try it.
;)


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Sep 27, 2019 1:12 pm  (#109) 
Offline
GimpChat Member

Joined: Sep 23, 2019
Posts: 31
When i fill with colors there are no problems, but when i try to fill with patterns or gradients i´m getthing this.
MultiFill Warning
Endless loop detected - flatting failed. Please uncheck 'Flatten After' and try again.

DO you have any idea on what could be the cause of this problem?
Thank you


Top
 Post subject: Re: Multi-Fill Script Help
PostPosted: Fri Sep 27, 2019 2:36 pm  (#110) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13001
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
regido wrote:
When i fill with colors there are no problems, but when i try to fill with patterns or gradients i´m getthing this.
MultiFill Warning
Endless loop detected - flatting failed. Please uncheck 'Flatten After' and try again.

DO you have any idea on what could be the cause of this problem?
Thank you

As the pop-up/error has attempted to explained.
Have you unchecked "Flatten After" within the script's dialog?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
Post new topic Reply to topic  [ 312 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 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 Attachment(s) Stripes when doing a bucket fill with pattern

0



* Login  



Powered by phpBB3 © phpBB Group