It is currently Sat Jun 20, 2026 6:24 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Aug 12, 2025 8:59 am  (#1) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Edit :

I have updated pl_stroke_arrows to v0.8. A small update with primary intent to enable internationalization.

* Enabled localization and added language files for french.
* Added simple color choice (foreground / black).
* Minor UI adjustments
* Launch via right-click in the paths dialog enabled.


See the documentation here: https://github.com/Scallact/gimp-stroke-arrows
Read installation and usage carefully.

Download here: https://github.com/Scallact/gimp-stroke ... s/tag/v0.8

-----------------------------------------

This is my proposal for a plugin dedicated to a much requested feature in GIMP 3.0: stroke paths with an arrowhead at the end.

It has one genuine feature, compared to other similar plugins (AFAIK): the body path is shortened to ensure that the arrow tip ends up reasonably well aligned with the path's last point.
This apparently trivial feature actually hid a rabbit hole. The requirement of cutting a Bezier curve at a specific point send me through a deep dive into Bezier curves theory and algorithms. :-)

The image below shows a selection of arrowheads styles available:

Attachment:
StrokeArrow01.png
StrokeArrow01.png [ 41.43 KiB | Viewed 4220 times ]


Edit: A few examples of what the plugin can do now:

Attachment:
StrokeArrow04_samples01_1.png
StrokeArrow04_samples01_1.png [ 56.92 KiB | Viewed 3715 times ]



Make sure you place the folder named "pl_stroke_arrows" in the GIMP plug-ins folder inside your profile.
Depending on your operating system, make the file "pl_stroke_arrows.py" inside this folder executable.
The plugin should appear at the bottom of the "Edit" menu.

The plugin has been tested, but some new bugs will probably happen. Please report here, preferably with a downloadable .xcf file to exemplify the case.


Last edited by Scallact on Sun Dec 07, 2025 2:16 pm, edited 3 times in total.

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: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Aug 12, 2025 12:39 pm  (#2) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 298
To help you out with the link (hope it's the correct one)
https://github.com/Scallact/gimp-stroke-arrows


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Aug 12, 2025 12:51 pm  (#3) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
quietreader wrote:
To help you out with the link (hope it's the correct one)
https://github.com/Scallact/gimp-stroke-arrows


Yes, thank you!


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Fri Sep 12, 2025 11:20 am  (#4) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Plugin updated to 0.7, see opening post for details.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Sun Dec 07, 2025 2:17 pm  (#5) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Plugin updated to 0.8, see opening post for details.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Sun Dec 07, 2025 11:39 pm  (#6) 
Offline
GimpChat Member

Joined: Mar 06, 2015
Posts: 308
Hi Gimp users

I need your help

I dowload the PY file.
I add the file to gimg plugins folder.
I do not see it the software menu.
I need to active the file ?

Thanks
Doron.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Mon Dec 08, 2025 5:17 am  (#7) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Did you install exactly as described https://github.com/Scallact/gimp-stroke-arrows?tab=readme-ov-file#installation?

You must copy the folder named pl_stroke_arrows, not the .py file alone.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Dec 09, 2025 3:07 am  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16037
Works fine for me in Gimp-3.2 RC1 , and Windows 11. Thank you for the update.

Image

_________________
Image


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Dec 09, 2025 3:46 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1430
Location: FInland
Thank you, seems to work fine.

Attachment:
Radioactive.jpg
Radioactive.jpg [ 227.67 KiB | Viewed 3098 times ]


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Dec 09, 2025 1:47 pm  (#10) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
Thanks for the feedback Rod and Niddhog!

Rod wrote:
Works fine for me in Gimp-3.2 RC1 , and Windows 11. Thank you for the update.


I didn't have the chance to test this version on Windows, so it's good to know. I was quite confident though, now that python scripting is included in GIMP as a first class citizen.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Wed Dec 10, 2025 4:24 am  (#11) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 298
works fine (Linux Mint 22 , GIMP 3.06).
I've made a German translation. I'll attach it here.
(Permission granted to upload it to your github, if you want)


Attachments:
de.zip [3.32 KiB]
Downloaded 86 times


Last edited by quietreader on Fri Dec 12, 2025 5:50 am, edited 1 time in total.
Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Wed Dec 10, 2025 3:26 pm  (#12) 
Offline
GimpChat Member

Joined: Mar 06, 2015
Posts: 308
Scallact wrote:
Did you install exactly as described https://github.com/Scallact/gimp-stroke-arrows?tab=readme-ov-file#installation?

You must copy the folder named pl_stroke_arrows, not the .py file alone.


Thank You very much.
I copy the folder and it is working very good.

Doron.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Fri Dec 12, 2025 6:58 am  (#13) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 21
quietreader wrote:
works fine (Linux Mint 22 , GIMP 3.06).
I've made a German translation. I'll attach it here.
(Permission granted to upload it to your github, if you want)


Thanks a lot for the translation, quietreader! I just tried it, and I'll definitely add your language file to the plugin, with a mention of your contribution.


Top
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group