Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,102
» Latest member: allanforms
» Forum threads: 7,798
» Forum posts: 42,355

Full Statistics

Latest Threads
arakne path shapes
Forum: Extending the GIMP
Last Post: rich2005
1 hour ago
» Replies: 0
» Views: 12
Selective transparency
Forum: General questions
Last Post: aka
2 hours ago
» Replies: 5
» Views: 173
ExifToolGUI and ExifTool ...
Forum: Other graphics software
Last Post: denzjos
Yesterday, 12:07 PM
» Replies: 12
» Views: 12,859
Can you identify effects/...
Forum: General questions
Last Post: rich2005
02-02-2026, 09:34 AM
» Replies: 11
» Views: 697
GIMP 3.0.8 Installation
Forum: Windows
Last Post: rich2005
02-01-2026, 08:30 AM
» Replies: 2
» Views: 478
Best way to recolor this ...
Forum: General questions
Last Post: rich2005
02-01-2026, 08:25 AM
» Replies: 12
» Views: 977
A Search For Missing Belg...
Forum: Watercooler
Last Post: Tas_mania
02-01-2026, 03:18 AM
» Replies: 3
» Views: 1,185
eps file won't open
Forum: General questions
Last Post: rich2005
01-30-2026, 09:26 AM
» Replies: 2
» Views: 287
undesirable grid
Forum: General questions
Last Post: rich2005
01-29-2026, 12:45 PM
» Replies: 1
» Views: 251
GIMP won't start after fr...
Forum: Windows
Last Post: denzjos
01-27-2026, 05:04 PM
» Replies: 2
» Views: 379

 
  Chopping a path
Posted by: Ottia Tuota - 10-07-2021, 07:15 AM - Forum: Extending the GIMP - Replies (12)

I made two plugins to chop the strokes of a path to smaller pieces. One is old, one is new.

To get the plugins, go to

http://kmarkku.arkku.net/Path_chop_files...aster.html

and click the Download button. Unzip. Put the file chop_path.py in the user's plug-ins folder. Restart Gimp. In the Paths tab, right-click the path you want to chop. Follow the links

Tools > Chopping > ...

There you see two plugins:

  • Chop the path at its anchors
  • Chop the path by another path
I explain now both a little.

Chop the path at its anchors

This is the old one but now it is in a different place in Gimp's menu. Also the wording of the GUI and the default action are a little different. The plugin chops the strokes of the path at the anchors, producing 2-anchor strokes. The default differs from what it was before: now the default is to make one path, so that the effect is to chop the strokes of the path into small 2-anchor strokes. Optionally you can make all the 2-anchor strokes into separate paths.

Chop the path by another path

In this plugin we have two paths: the one to be chopped and another path. The action is that the strokes of the path are chopped into shorter strokes by cutting them at the crossing points with the other path. Optionally all the shorter strokes can be made to separate paths each.

Example 1

On the left the red path has 1 stroke with 4 anchors. That path we want to chop. There is another path (blue), and that is the chopping path.

   

In the middle picture the plugin has been applied: The red path is chopped by the blue path. You see there 3 new anchors at the crossing points; those 3 anchors are in fact double anchors and stroke ends. The red stroke has been cut into 4 shorter strokes, so the path consists now of 4 strokes. To show that they are indeed 4 separate strokes, I moved their ends a little apart, on the right.

Example 2

A spiral chopped to pieces. To begin with, the spiral (red) is one stroke. It is chopped by the fan of lines (another path, blue).

   

After chopping, the spiral consists of 48 strokes, on the right. In this picture the spiral is chopped into 2-anchor strokes, and I grabbed and moved 3 of them to show that they indeed are separate strokes.

In this example the new short strokes happen to have only 2 anchors each (the end points). But since the plugin preserves all original anchors, in general you often get strokes with more than 2 anchors. If needed, you can try to get rid of some anchors with the Simplify plugin.

The ordering of the strokes follows the original spiral. The plugin enables you also to make separate paths instead of one path with several strokes.

Example 3

You can also use the plugin to chop a path by itself. On the left we have a red path, one stroke with 3 anchors. In the middle picture the path is chopped by itself. This means that the stroke has been cut at the crossing points. On the right I moved the stroke ends a little so that you can see how the cuts are done. Now there are 5 strokes.

   

For those interested: To do this plugin I had to compute intersections of two Bezier curves. I implemented the "interval subdivision algorithm" in Section 7.6 of:

https://scholarsarchive.byu.edu/cgi/view...ext=facpub

And that was the easy part in the work.

If the plugins do not work as supposed, please report.

Print this item

  Filters question 2.8
Posted by: gazza - 10-06-2021, 04:13 AM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (7)

Hi
I am trying to use some Tutorials that I saved way back and they want to use the Filters/Render/ Clouds/ Difference Clouds. I understand the Difference clouds filter has changed to a "Noise" filter now in 2.10. Does the filter in 2.8 not work at all now? I have the .scm file in my scripts folder, but it is all greyed out when I try to use it. I am sure I did use it recently and it worked. Maybe I am doing something incorrectly? I am trying to put some water with a reflection in front of some houses. The background file downloaded is in .png format, and it is only the "Clouds" issue that has me stumped.
Gazza


Sorry folks............ got it sorted. Welll sort of. The filter works, but having trouble with this particular project.
Thanks

Print this item

  Where did the size changer options go?
Posted by: skylandersarefun123 - 10-05-2021, 05:11 PM - Forum: General questions - Replies (1)

Randomly the options disappeared and i cant find out how to bring them back



Attached Files Image(s)
   
Print this item

  Batch Metadata updating with BIMP.
Posted by: YeboiXd - 10-05-2021, 05:09 PM - Forum: Scripting questions - Replies (4)

Hello. I am very new to scripting and plug-ins in general. I am trying to create a script that works with BIMP (Batch processing of GIMP) that gets the metadata from each image and updates selected fields while keeping the non-updated ones. I mainly want to update the Copyright of each of the images that are batch processed. I know I can use exiftool for this, but I am also using BIMP for more than just editing metadata and would like to only use BIMP for all these purposes. I know I need to use pdb.gimp_image_get_metadata(image) and pdb.gimp_image_set_metadata(image,data). But I just don't know how to code the script to do what I want it to do.

Thank you in advance!

Print this item

  GIMP 2.10.28 with MathMap - Windows
Posted by: paulfh - 10-05-2021, 11:33 AM - Forum: General questions - Replies (4)

Has anyone tried using MathMap with the latest 2.10.28 version of GIMP? I'm a bit wary of trying it as I couldn't get it to work with 2.10.24 and reverted back to 2.10.22.

Print this item

  Simplifying Photo to Create Painted Effect
Posted by: AxeMasterG - 10-05-2021, 11:30 AM - Forum: General questions - Replies (2)

Hi there folks,

I was wondering whether there's a way to take a photograph and simplify the colours in order to give it a "painted on" look. It's difficult to describe, but I have a photo of a cat that I would like to incorporate onto a flag in a way so that it looks similar to the California state flag (with the bear). Can anybody help? Cheers.

Print this item

  changing a line
Posted by: aka - 10-05-2021, 09:08 AM - Forum: General questions - Replies (2)

Hi,

Let say we have a layer with some lines, it can be pen or brush or something else ; that does no matter, I can take any of them for the following purpose : I would like to change the thickness of an already drown line through someting like options, preferences, etc.

Is it please possible ?

Best regards.

Print this item

Video Maybe he made a bunch of Gimp converts with these answers
Posted by: Ofnuts - 10-04-2021, 07:43 PM - Forum: Watercooler - No Replies



Print this item

  Installing Photoshop filters/plug-ins in GIMP
Posted by: Peregrinus - 10-03-2021, 02:10 AM - Forum: Extending the GIMP - Replies (5)

Greetings,

I'm running gimp 2.10.20 on a Windows 10 pro machine.

I recently tried to upgrade a set of filters/plug-ins that I have been using successfully for a while.

I followed the instructions to tell gimp where to find plug-ins and send a message to say that the new folder and being recognised and will be saved.

I closed the gimp started it again and recognised performed and displayed the plug-ins/filters.

When I tried to apply filter to an image and image it did not work..

I would be grateful for any ideas on how to fix this

Regards

C

Print this item

  Color palettes vanished!
Posted by: Marty0750 - 10-02-2021, 08:31 AM - Forum: General questions - Replies (2)

Was working on colorizing an image. Usually clicking the palette icon a displays list of all available palettes, including the ones I created.  But suddenly they all disappeared except the last one I created. All the others have vanished into thin air. Relaunching or loading another job makes no difference. How do I get them back?

Martin

Print this item