It is currently Fri Apr 19, 2024 5:44 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Wed Sep 22, 2010 8:55 pm  (#11) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Try this, Greg.

Open an image and add an alpha channel. Image > Canvas Size. Unlink w & h. Add at least 50 pixels to both measurements. Click the Center button.

Do NOT do layer to image size. Run the photo mosaic plug-in.

I did this image of an elephant. I added 100px of canvas both ways and did not have any overlapping parts of the image. I filled in a bg layer with blue and cropped it, other than that the image is as it finished up from the plug-in.

Image

This one I added 50px to h & w for canvas. I used the default settings in the filter, and the only change I made was to make the bg color red.

Image


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Wed Sep 22, 2010 9:17 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Wow, this filter is fun to play with. =)
Image

_________________
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: Photo Mosaic Python Plugin
PostPosted: Wed Sep 22, 2010 9:18 pm  (#13) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I'm loving what you are coming up with, Rod. Good work!!!

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Wed Sep 22, 2010 9:23 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I took a colorful image of a toy giraffe and used pinch and swirl, then i ran The stained glass filter,after that i took out all the inside black lines so i had individual stained glass panels gave it a white bg, then finally i ran mosaic filter.

_________________
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: Photo Mosaic Python Plugin
PostPosted: Wed Sep 22, 2010 10:57 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
As soon as I can get back on my computer, I will try it out! Sounds like it should work.

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Wed Sep 22, 2010 11:12 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Oregonian! You rock! Your technique worked perfectly!!

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Wed Sep 22, 2010 11:17 pm  (#17) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I got a clue when I made this image with a transparent bg and it came out with no bg.
Image

Thought I'd try adding some transparency around an image and see what came out. You can see the results. I think 50px or even less would work fine. Was a lucky :idea:

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu Sep 23, 2010 6:31 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
I hate to be the buzz kill, but I ran across the following bug. It is repeatable, at least on my machine. I will send this to the author.


Attachments:
PhotoMosaic Error.jpg
PhotoMosaic Error.jpg [ 332.1 KiB | Viewed 2946 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu Sep 23, 2010 6:35 pm  (#19) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I've had that message more than one time. I got another one when I changed a different setting also. It is a buggy plug-in. Time to get out the flyswatter.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu Sep 23, 2010 6:40 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
I sent a msg to the author, with the URL for this page, so he can see the error msgs. I know a fair amount of script-fu, but haven't looked into python scripting, so I can't help to fix the problem... yet.

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu Sep 23, 2010 7:33 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
After adding this line before line 172

angle = 0

That seemed to fix the rotation value error.
I wonder if adding other
integer = 0 (i am not sure what you use for numbers)
it would fix every setting, and stop the errors?
Because that would tell the script
"your value is 0"
Wouldn't it?

_________________
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: Photo Mosaic Python Plugin
PostPosted: Thu Sep 23, 2010 8:54 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
I haven't looked at the python script, so I don't know anything about it, but in all of my years of programming, we always declared all of our variables with a known value first. This looks like a math error or possible using a wrong value type. Usually numeric variables are integers and floats. I should take a look at the code and try to figure it out.

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu Sep 23, 2010 10:25 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Good luck with it! =)

_________________
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: Photo Mosaic Python Plugin
PostPosted: Thu Nov 18, 2010 3:21 pm  (#24) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
geeze, how did I miss this thread? kewl.....

_________________
Image


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu Nov 18, 2010 3:30 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
I did too Molly; just downloaded it. Has issues, but, from the help here, I got the bleeding issue figured out. Not happy with some of the drop shadow effect parts on some of the panels that happened when I ran it, but, overall, pretty cool. I've used Big Picture action from Panosfx in the past and this python script gives a similar result. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu May 15, 2014 1:33 am  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
where is the plugin located after it's downloaded and installed?


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu May 15, 2014 2:25 am  (#27) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7712
Location: On the other side of this screen
Try Gimp Scripts
http://gimpscripts.com/?s=Photo+mosaic
May tell you.

_________________


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu May 15, 2014 2:43 am  (#28) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
sallyanne wrote:
Try Gimp Scripts
http://gimpscripts.com/?s=Photo+mosaic
May tell you.


Thanks, Sallyanne. :)


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu May 15, 2014 3:34 am  (#29) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
The version on GimpScripts may be out of date, when i downloaded from the Gimpstuff Website the file was larger than that on GimpScripts

Image

Attachment:
Photo Mosaic.zip [2.78 KiB]
Downloaded 110 times

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


Top
 Post subject: Re: Photo Mosaic Python Plugin
PostPosted: Thu May 15, 2014 8:01 am  (#30) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7712
Location: On the other side of this screen
Where can it be found then. I have it but cannot find it.

_________________


Top
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Convert GIMP plugin from Python 2 to Python 3

3

No new posts Attachment(s) Macbook User and Python plugin

14

No new posts Unable to get simple python plugin to show up

8

No new posts Please make a python plugin to combine my GEGL filters with GMIC

1

No new posts Get a mouse click or select a pixel in an image in a python plugin?

3



* Login  



Powered by phpBB3 © phpBB Group