GIMP Chat
http://gimpchat.com/

Android Icon plug-in (Python)
http://gimpchat.com/viewtopic.php?f=9&t=1669
Page 1 of 1

Author:  Oregonian [ Sun May 01, 2011 10:34 am ]
Post subject:  Android Icon plug-in (Python)

This plug-in requires the Layer Effects plug-in to work.

No choices. Just run the plug-in on your image. Your image needs a transparent background.

<Image> Filters > Android Icon (There's also Android Icon batch mode). I moved mine to <Image> Script-Fu > Logos

http://registry.gimp.org/node/25274

ImageImage

Author:  2-ton [ Sun May 01, 2011 12:17 pm ]
Post subject:  Re: Android Icon plug-in (Python)

I was just wondering why the download for this has .txt extension? I removed the .txt and put it in my plug ins folder, so I hope it works!

*nope, it doesn't show up in my menu where the other layer effects are...although I will say that I don't have all the effects that are listed so maybe I need to update my layer effects??? Or is it because I'm using the mac?

Author:  Willy [ Sun May 01, 2011 12:30 pm ]
Post subject:  Re: Android Icon plug-in (Python)

2-ton wrote:
I was just wondering why the download for this has .txt extension? I removed the .txt and put it in my plug ins folder, so I hope it works!

*nope, it doesn't show up in my menu where the other layer effects are...although I will say that I don't have all the effects that are listed so maybe I need to update my layer effects??? Or is it because I'm using the mac?

I think you would have to save it as what all your other Scripts are saved as. Then it should work.

Author:  2-ton [ Sun May 01, 2011 12:32 pm ]
Post subject:  Re: Android Icon plug-in (Python)

I did...it's a .py, and all my other .py files are in the plug-in folder. Well, that one is too, now, but it isn't in my script-fu layer effects menu.

Author:  Oregonian [ Sun May 01, 2011 4:18 pm ]
Post subject:  Re: Android Icon plug-in (Python)

It belongs in the plug-ins folder, and 2-ton, you were right to remove the .txt extension.

You will find it in <Image> Filters > Android Icon (There's also Android Icon batch mode).

I had to change the plug-in in order to have it show up in Script-Fu/Logos.

I've attached the zipped one I changed the locations of both the Android Icon and the batch mode to be in Script-Fu > Logos > Android Icon (and Android Icon batch mode).

Attachments:
androidicon.py.zip [1.66 KiB]
Downloaded 150 times

Author:  Rod [ Sun May 01, 2011 6:22 pm ]
Post subject:  Re: Android Icon plug-in (Python)

Thanks O. :)
Cute filter

Author:  2-ton [ Sun May 01, 2011 8:09 pm ]
Post subject:  Re: Android Icon plug-in (Python)

Interesting...I don't have 'filters' under 'image'
Image

Author:  Oregonian [ Sun May 01, 2011 8:13 pm ]
Post subject:  Re: Android Icon plug-in (Python)

The term, <Image> refers to the menu in the image window.

A path, <Image> Filters > Whatever, <Image> refers to the Image.

Author:  2-ton [ Sun May 01, 2011 8:16 pm ]
Post subject:  Re: Android Icon plug-in (Python)

ok grabbed the zip file, and voila` there it is under logos...but it pulls an error.
Android Icon Warning
error:plugin 'python-layerfx-gradient-overlay' not found
I tried selecting the text and also no selection, same error

Author:  Oregonian [ Sun May 01, 2011 8:18 pm ]
Post subject:  Re: Android Icon plug-in (Python)

I had that happen when I tried to run a border through the filter. I think your image needs some canvas around it and no layer boundary around the image. It's kind of touchy.

If you are doing text, I suggest you right-click the layer the text is on and do layer to image size. It doesn't need to be selected.

Author:  2-ton [ Sun May 01, 2011 8:28 pm ]
Post subject:  Re: Android Icon plug-in (Python)

Still no go. I'm thinking my layer.fx is the problem. I have both the py and the script fu one, maybe I should only have one? And I'm not sure the py one even works, not sure where I would find it to try it out.

Author:  Oregonian [ Sun May 01, 2011 8:35 pm ]
Post subject:  Re: Android Icon plug-in (Python)

I have both.

The script (.scm) is in Script-Fu > Layer Effects >

The plug-in (.py) is in Layer > Layer Effects >

Author:  2-ton [ Sun May 01, 2011 8:38 pm ]
Post subject:  Re: Android Icon plug-in (Python)

ah, I have no layer effects in my layer menu. I guess that even though the file is in the plug in folder, it's not being seen.

Author:  Oregonian [ Sun May 01, 2011 8:39 pm ]
Post subject:  Re: Android Icon plug-in (Python)

I'm pretty sure the Android Icon plug-in calls the Python Layer Effects plug-in.

Here's some text I copied from the Android plug-in.

    # Check dependencies
    for plugin_name in ["python-layerfx-gradient-overlay",
        "python-layerfx-inner-shadow", "python-layerfx-bevel-emboss"]:
        if not pdb.query(plugin_name):
            show_error_msg("Plugin '%s' not found" % plugin_name, LookupError)


Which means it is the Python layerFX it uses.

Author:  2-ton [ Sun May 01, 2011 8:50 pm ]
Post subject:  Re: Android Icon plug-in (Python)

grrr, I have it in my plug in folder but it's just not being found. I can see it but gimp cannot, boo hoo.Image

Author:  Oregonian [ Sun May 01, 2011 9:11 pm ]
Post subject:  Re: Android Icon plug-in (Python)

I don't know about Macs, but in Linux, I usually have to right-click the plug-in, Properties, click the Permissions tab and check where it says to allow the plugin to execute as a program. It won't work otherwise.

Author:  2-ton [ Sun May 01, 2011 9:24 pm ]
Post subject:  Re: Android Icon plug-in (Python)

that is not a choice that comes up in r-click...looked around for that choice but couldn't find it. Maybe some of our mac members have some hints.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/