It is currently 12 Jun 2021, 20:31

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Make Icon Plug-in

Share your Python Fu Scripts/plug-ins for GIMP here
tim
GL Blogger

Re: Make Icon Plug-in

Post#11 by tim » 13 Oct 2019, 01:44


gimp_icon.png
gimp_icon.png # (22.72 KiB) Viewed 5247 times (Thumbnail | Recognize | Sq Tile | LNFI)
this was generated using version 2 of plug-in as well.
found black on transparent logo of wilbur.
just removed alpha channel so that it fills transparent with white so plug-in can do it's work (plug-in needs a background color to work with).
aka Tin

         

mackenzieh
Forum Member

Post#12 by mackenzieh » 13 Oct 2019, 18:17


Tim,
I've ran the script more than once and I still get the multi colored gradient icon as the finished result. (That's if you run a jpg image or a png image.) There's definitely an error there.Image

I only changed the colors for the icon itself. That's with version 2 of the plugin in.
GIMP Learn rocks...

Pat625
Tutorial Creator

Post#13 by Pat625 » 13 Oct 2019, 22:54


Tin I tried several times again, and I get a runtime error which stop the progression of the plug in. I did use Version 2.

tim
GL Blogger

Post#14 by tim » 14 Oct 2019, 03:10


do you guys not have layerfx.py?
aka Tin

         

Issabella
Script Tester

Post#15 by Issabella » 14 Oct 2019, 17:58


Thank you so much Tim for your script. :thank_you:
This is my first result by default and it ran quick and no problems. :cool:
Attachments
Icon_Tin_Issa.png
Icon_Tin_Issa.png # (193.86 KiB) Viewed 5209 times (Thumbnail | Recognize | Sq Tile | LNFI)
Issabella

Don’t be afraid to start over. It’s a new chance to rebuild what you want.

mackenzieh
Forum Member

Post#16 by mackenzieh » 14 Oct 2019, 18:32


tim wrote:
14 Oct 2019, 03:10
do you guys not have layerfx.py?
I have layerfx.py but when I ran the script, I didn't get what it's supposed to produce.
GIMP Learn rocks...

tim
GL Blogger

Post#17 by tim » 14 Oct 2019, 20:00


I don't know why that is...Pat's error was there because it complained about a layerfx call. maybe you have the same thing.
Attach your source image that you ran from I see if i can reproduce error on my machine.
aka Tin

         

mackenzieh
Forum Member

Post#18 by mackenzieh » 14 Oct 2019, 20:12


When I run the script on the third try, that is when I get the gradient layer. There is an error in the script.
Here is the image I used:
Image
I suggest that you try running the script three times and see what you come up with. The first time I ran it with the default colors.. no problem, 2nd time I used different colors.. no problem. 3rd time I used different colors.. problem.. gave me the gradient icon result.
Last edited by mackenzieh on 14 Oct 2019, 21:22, edited 1 time in total.
GIMP Learn rocks...

mackenzieh
Forum Member

Post#19 by mackenzieh » 14 Oct 2019, 20:24


mackenzieh wrote:
14 Oct 2019, 20:12
When I run the script on the third try, that is when I get the gradient layer. There is an error in the script.
Here is the image I used:
Image
I suggest that you try running the script three times and see what you come up with. The first time I ran it with the default colors.. no problem, 2nd time I used different colors.. no problem. 3rd time I used different colors.. problem.. gave me the gradient icon result.
GIMP Learn rocks...

Tom
Forum Member

Post#20 by Tom » 14 Oct 2019, 20:59


I just tried one with the default colors and it worked fine.
Then I used edit and undid the create icon script, so everything was the same.
This time I used different shades of blue and got the weird gradient button.
scorpio.jpg
scorpio.jpg # (10.33 KiB) Viewed 5188 times (Thumbnail | Recognize | Sq Tile | LNFI)
scorpio_blue.jpg
scorpio_blue.jpg # (10.61 KiB) Viewed 5188 times (Thumbnail | Recognize | Sq Tile | LNFI)
scorpio.xcf #
(185.05 KiB) Downloaded 186 times
scorpio_blue.xcf #
(193.21 KiB) Downloaded 179 times


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 17 guests