It is currently Thu Apr 25, 2024 10:27 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 10:34 am  (#1) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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

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


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 12:17 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
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?


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 12:30 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
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.

_________________
Image
I'm back I think


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 12:32 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
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.


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 4:18 pm  (#5) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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 148 times

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein
Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 6:22 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks O. :)
Cute 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: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:09 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
Interesting...I don't have 'filters' under 'image'
Image


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:13 pm  (#8) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
The term, <Image> refers to the menu in the image window.

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

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


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:16 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
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


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:18 pm  (#10) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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.

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


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:28 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
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.


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:35 pm  (#12) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I have both.

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

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

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


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:38 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
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.


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:39 pm  (#14) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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.

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


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 8:50 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
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


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 9:11 pm  (#16) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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.

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


Top
 Post subject: Re: Android Icon plug-in (Python)
PostPosted: Sun May 01, 2011 9:24 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
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.


Top
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts use in python of plug-in lighting

4

No new posts Attachment(s) GIMP Python-Fu Plug-in template

4

No new posts GIMP 2.10 doesn't install my python plug-ins

1

No new posts Plug-in crashes after OS upgrade: python version mismatch? maybe?

4

No new posts Android xcf reader?

2



* Login  



Powered by phpBB3 © phpBB Group