Post all Gimp scripts and script writing questions here
Post a reply

Tile matching script

Fri Jan 19, 2018 1:36 am

Takes a Tile image like this one
Image

Breaks it into tiles and compose a source image such as the famous Mona Lisa.
Image

More details here --> Tile matching Script
Note script has been sped up 8 times (with genius help from ofnuts) but depending on tile size it could still take a really long time to finish an image.

Re: Tile matching script

Fri Jan 19, 2018 3:29 am

:bigthup How interesting effect. Thank you so much Tin. I'll try it. :cool

Re: Tile matching script

Sun Jan 21, 2018 8:49 am

More results with this nice script. :)

Re: Tile matching script

Sun Jan 21, 2018 11:58 am

What happens if you tile the image with itself?

Re: Tile matching script

Sun Jan 21, 2018 12:38 pm

Ofnut, I tested your question. I tiled the image with itself and I see the outcome very good, too. :)

Re: Tile matching script

Sun Jan 21, 2018 1:05 pm

Now we just need Tran to add a random selection of the tiles among several that match "enough".

Re: Tile matching script

Sun Jan 21, 2018 11:11 pm

version 3 of script selects from rotations of tiles and randomly uses the tile that is one of 5 best matches.
But I am testing another version that turns a layer into indexed colors selects by color, then intersect selects with a larger tile like 100pixels so that we get other cool variations in shapes instead of just boring square tiles
Then uses the result of selection and copy from original unindexed colors to just bring out some cool shapes and the search for match is more extensive like it offsets the layers through increments of 10pixels
to find best match since an offsetted tile could potentially look/match better.
But because this version is really slow i mean really really slow.... I am still testing the first image to see if result is worth anything at all.

Re: Tile matching script

Sat Jul 04, 2020 7:33 pm

Confetti "Match Forever" plug-in.
Image

More details on this plug-in: https://gimplearn.net/viewtopic.php?f=3&t=2743

Re: Tile matching script

Sun Jul 05, 2020 12:12 am

Sort of a different take of Photo-mosaics; like the results, Tran. :)

Re: Tile matching script

Sun Jul 05, 2020 8:10 am

Thanks lylejk
here's result after about 15hrs of infinite looping.
Image

Re: Tile matching script

Sun Jul 05, 2020 10:25 am

Thanks Tim. Your result is innovative and artistic.
Mine is in its 8th hour I hope it comes finally well. :hehe

Re: Tile matching script

Sun Jul 05, 2020 10:35 am

Issabella, It'll never finish, if you want to see what it has right now: select the image that plug-in is running on and duplicate image, then on duplicated copy you can change the layer mode of "collage" layer to NORMAL (if it's in DIFFERENCE mode) and you can see what it has so far.

Re: Tile matching script

Sun Jul 05, 2020 12:23 pm

Thank you Tim. It's impposible to select the layer to make a copy it's constantly moving. :hehe
Here what is so far. :roll:

Re: Tile matching script

Sun Jul 05, 2020 12:45 pm

No don't try to copy the layer but DUPLICATE IMAGE that way you'll get a whole new image to check results on, and script will run on original image without interference.
If you try to duplicate layer on the working copy that the plug-in is running on, the plug-in will probably produce wrong results since it's constantly trying to add/remove layers and changing modes....so that's a NO NO.... remember Image->Duplicate to Duplicate image to get a non changing copy to check results on.
Post a reply