It is currently 29 Sep 2021, 02:12

• 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
Sponsored content for World Food Program

Distressed Rubber Stamp Plugin

Share your Python Fu Scripts/plug-ins for GIMP here
rich2005
GIMP Guru
23rd Place
175 Post(s)

Re: Distressed Rubber Stamp Plugin

Post#21 by rich2005 » 10 Aug 2019, 15:25


Just a couple of comments/questions

1. Which linux distribution are you using?

2. Is it a regular installation or something else a flatpack / snap / appimage?

3. Placing the plugin in ~/.config/GIMP/2.10/plug-ins is correct for a regular installation. Should look like this with permissions set. Size 11,330 B

Image

4. In the filters menu, do you have a Python-Fu entry? If not there, you need to add the gimp-python package.

Image

4. Why are you writing out in full "HERETHEREISADOT" or "DOT" ?

mole
Forum Member
87th Place
4 Post(s)

Post#22 by mole » 11 Aug 2019, 20:31


thanks Rich2005,
I'm using a Debian regular installation . gimp is 2.10.
here are my permissions:
mole@moleub:~/.config/GIMP/2.10/plug-ins$
-rwxrwxrwx 1 mole mole 11330 ago 10 00:35 rubber_stampDOTpy
Still not working, I'll try with other scripts to test.
I'm using "HERETHEREISADOT" or "DOT" because the forum doesn't allow me to post links like "something .py"
thank you
GIMP Learn rocks...

rich2005
GIMP Guru
23rd Place
175 Post(s)

Post#23 by rich2005 » 12 Aug 2019, 10:12


I'm using "HERETHEREISADOT" or "DOT" because the forum doesn't allow me to post links like "something .py"
thank you

Nice one, only asked in case they were actually named like that (you see some strange things on Gimp forums ;) )
I'm using a Debian regular installation . gimp is 2.10.
I am assuming this is Debian 10. (Debian 9 comes with Gimp 2.8 and to Get Gimp 2.10 you would install a flatpack or appimage)
here are my permissions:
mole@moleub:~/.config/GIMP/2.10/plug-ins$
-rwxrwxrwx 1 mole mole 11330 ago 10 00:35 rubber_stampDOTpy
Permissions are fine.

I generally use kubuntu 18.04 but I do have a Debian 10 VirtualBox VM with a MATE desktop (why I chose MATE I do not know, not for my favourite)

This is the plugin "rubber_stamp.py" working:

Image

Did you check that the correct folders show in Edit -> Preferences -> Folders ?

Image

Did you check that gimp-python package is installed? Thankfully Debian comes with synaptic package manager.

Image

tim
GL Blogger
1st Place
5535 Post(s)

Post#24 by tim » 13 Aug 2019, 16:35


mole, you've posted enough to be able to post links now (just in case you don't already know that).
aka Tin
World Food Program | Good Deeds Forum

         

mole
Forum Member
87th Place
4 Post(s)

Post#25 by mole » 16 Aug 2019, 07:51


Hi everybody, and thanks everyone for the attention.
I don't know what was wrong, but the the issue is solved, I used the Windows approach :D, simply removing, purging and reinstalling Gimp. Now everything works as it should.
Thasnks again.
GIMP Learn rocks...

Juanchurch
Newly Registered
129th Place
1 Post(s)

Post#26 by Juanchurch » 20 Feb 2020, 12:01


The latest download does not work in Linux Mint 19.3 Cinnamon and GIMP 2.10.14 .
The fourth download does work, but why doesn't the last download work?
GIMP Learn rocks...

tim
GL Blogger
1st Place
5535 Post(s)

Post#27 by tim » 21 Feb 2020, 14:49


Juanchurch wrote:
20 Feb 2020, 12:01
The latest download does not work in Linux Mint 19.3 Cinnamon and GIMP 2.10.14 .
The fourth download does work, but why doesn't the last download work?
The last version works fine for me on Linux (Ubuntu) GIMP 2.10.12. It just doens't come with distress.png so you gotta use a .png of your own or from the earlier versions.
aka Tin
World Food Program | Good Deeds Forum

         

Madlbsy
Forum Member
97th Place
3 Post(s)

Post#28 by Madlbsy » 17 Aug 2021, 16:56


Hello all

I registered just to post here. First of all, thanks for this plugin. And secondly, I would like to share a few comments that, while being quite late, may be useful for future netizens coming here.

I suspect that the issue that mole suffered was that he didn't have the gimp-python package installed (it's a separate package in Debian, listed as a Suggests, it was probably included in the second install).

As for Juanchurch error, that might be due to not using a png file. Note that distressed_3-1000x1000.rar contains distressed_3.jpg. The plugin won't work as-is if you provide a jpg. For that you need to change line 193 replacing "file_png_load" with "file_jpeg_load"
GIMP Learn rocks...

Krikor
Forum Member
12th Place
915 Post(s)

Post#29 by Krikor » 17 Aug 2021, 18:28


Madlbsy wrote:
17 Aug 2021, 16:56
Hello all
Note that distressed_3-1000x1000.rar contains distressed_3.jpg. The plugin won't work as-is if you provide a jpg. For that you need to change line 193 replacing "file_png_load" with "file_jpeg_load"
The plugin doesn't really work if the distressed file is .jpg type.

But changing the plugin line ("change line 193 replacing "file_png_load" with "file_jpeg_load") would on the other hand only benefit from using this type of extension (jpg) for distressed files.

Ideally, the plugin would allow the reading and use of both; png and jpg.

In my case, I preferred to convert the distressed_3.jpg file to .png, since all the other distressed files I have are also png.

But as these files are used as masks there is no need for them to be png. In fact converting png files to jpg files generates much smaller files.

The distressed_3.jpg file has 525 KB, when converted to png it was 1.24 MB
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston

Madlbsy
Forum Member
97th Place
3 Post(s)

Post#30 by Madlbsy » 17 Aug 2021, 23:35


Indeed. It's not a complete solution, as you say, it causes it not to work for pngs. Alas, I don't know what's the name for a function that load "a file of any type known by gimp" (although I guess there must be one).
GIMP Learn rocks...


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