It is currently Thu Nov 12, 2026 2:05 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 9:35 am  (#41) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
oh it takes a while alright.
I had to go and brush my teeth and then came back it still didn't finish took like 25 minutes in total to hatch 42 colors on this lion again
with "All"
Since it took so long, i'd figure i'd share. same lion as before i just didn't crop this time and this time it has poka dots
Image
ref:http://hdscreen.me/wallpaper/2941349-animals-artistic-artwork-lions-multicolor

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 9:57 am  (#42) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16256
Love that. Did you use the hue mode?

_________________
Image


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 10:16 am  (#43) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
jontait2 wrote:
You may just need to be patient Lyle.
I did an image of 2500x3600 (by mistake!) in auto-hatch ..and it ran and ran and ran, window greyed-out, but it did eventually finish okay.

it helps a lot removing the "undo-history" from the script
...
(gimp-image-undo-disable image)
...
...
...
(gimp-image-undo-enable image)

_________________
"Where am I ?"


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 11:18 am  (#44) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
Rod wrote:
Love that. Did you use the hue mode?

What hue mode? unless you meant "Break into color components" then yeah.
It's a cool source image to begin with.

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 12:27 pm  (#45) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12856
jontait2 wrote:
You may just need to be patient Lyle.
I did an image of 2500x3600 (by mistake!) in auto-hatch ..and it ran and ran and ran, window greyed-out, but it did eventually finish okay.


No; GIMP actually crashed. Crashed several times (closed after I said OK to the error message) for a few of the images that I've tried. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 12:28 pm  (#46) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12856
dinasset wrote:
jontait2 wrote:
You may just need to be patient Lyle.
I did an image of 2500x3600 (by mistake!) in auto-hatch ..and it ran and ran and ran, window greyed-out, but it did eventually finish okay.

it helps a lot removing the "undo-history" from the script
...
(gimp-image-undo-disable image)
...
...
...
(gimp-image-undo-enable image)


I'll try that dinasset. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 12:42 pm  (#47) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12856
When I tried to put these commands in the script, the script no longer shows up in the menu. Where do I need to put these commands in? Coder I'm not. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 12:49 pm  (#48) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
Lyle, do the following:
1) replace line 37 of the original which reads:
(gimp-image-undo-group-start image) ;undo-group in one step
with this one:
(gimp-image-undo-disable image) ; DN = NO UNDO
2) then replace line 215 of the original which reads:
(gimp-image-undo-group-end image) ;undo group in one step
with this one:
(gimp-image-undo-enable image) ;DN = NO UNDO

I did, it works

_________________
"Where am I ?"


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 12:53 pm  (#49) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
removed the undo group in the parent script (auto hatch layers script).

6 colors was gonna post this in primary color RAP (random art prompt but) this uses 6 colors so i guess it's not primary anymore.

I made the image gray scale first, then looked at the pure primary and secondary colors and desaturate by luminosity to find out what colors appears from darkest to lighest and colorized the image based on that order.
Image

I just had problem uploading this image because it conflicted with an existing file name....that wasn't too much trouble but it'd be nice if when you upload images, it'd would add something to the filename so that it would be unique all the time :D

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 12:55 pm  (#50) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
to "remove" them is not enough, you have to explicitely "disable"...
(I also speak of the "auto hatch ...")

_________________
"Where am I ?"


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 1:02 pm  (#51) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12856
OK; that appears to work Dinasset and the processing for this image did not crash GIMP. Thanks a heap. :)


Attachments:
fp021107-03b.png
fp021107-03b.png [ 2.71 MiB | Viewed 2263 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 1:03 pm  (#52) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
Glad you succeeded, Lyle!

_________________
"Where am I ?"


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 1:15 pm  (#53) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
nice it looks like a cut out paper collage of a doll

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Thu May 28, 2015 1:25 pm  (#54) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12856
Thanks Tran; did pre-process the original by running it through Autotrace for simplication prior to running your Script. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Mon Jun 01, 2015 11:04 am  (#55) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
Now available on http://gimpscripts.com/2015/06/auto-hatch-layers/

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Wed Jun 03, 2015 3:46 pm  (#56) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
Updated to include "Triangles" and include "Triangles" when "All" is chosen.
Now available on http://gimpscripts.com/2015/06/auto-hatch-layers/
Don't forget to update the http://gimpscripts.com/2015/06/hatch-selection-layer/ as well.
Image

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Wed Jun 03, 2015 4:13 pm  (#57) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12856
Like the new triangles Tran; didn't really have a great image to use the preset though. Just a rooster that I took at the zoo a few years back. :)


Attachments:
rooster.jpg
rooster.jpg [ 1.99 MiB | Viewed 2186 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Wed Jun 03, 2015 4:15 pm  (#58) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
thanks!
that's sure a nice image of a rooster.
I am happy i got all pattern of basic shapes down now :D

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Wed Jun 03, 2015 5:00 pm  (#59) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
trandoductin wrote:

You might wish to consider placing both procedures within the same .scm file. You'd still have both commands available separately, however, people might find working with a single download easier and less prone to error.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Auto Hatch Layers (will hatch your whole image)
PostPosted: Wed Jun 03, 2015 5:26 pm  (#60) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4561
Location: Canada
thanks.
I might.

_________________
Image
Visualize your and others dreams coming true.


Top
Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group