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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,778
» Latest member: Donaldboava
» Forum threads: 7,593
» Forum posts: 41,393

Full Statistics

Latest Threads
How to make a watermark o...
Forum: General questions
Last Post: kyolim
10 hours ago
» Replies: 5
» Views: 13,943
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
Yesterday, 06:06 PM
» Replies: 1
» Views: 299
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
Yesterday, 05:20 PM
» Replies: 2
» Views: 218
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 07:53 AM
» Replies: 15
» Views: 11,837
Photo play-time
Forum: Gallery
Last Post: Ofnuts
Yesterday, 07:32 AM
» Replies: 24
» Views: 21,684
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 593
pl_stroke_arrows GIMP 3.0...
Forum: Extending the GIMP
Last Post: Scallact
09-12-2025, 04:03 PM
» Replies: 0
» Views: 253
How do you make text circ...
Forum: General questions
Last Post: rich2005
09-12-2025, 07:18 AM
» Replies: 12
» Views: 3,319
New Install, Black Screen...
Forum: OSX
Last Post: akhrameev
09-11-2025, 02:32 PM
» Replies: 3
» Views: 2,991
Trouble changing backgrou...
Forum: General questions
Last Post: tomatoSauce23
09-11-2025, 12:50 PM
» Replies: 6
» Views: 1,497

 
  Batch Changing font style
Posted by: carmen - 10-14-2019, 01:54 AM - Forum: Scripting questions - Replies (4)

Hello!
I have managed to put together a Gimp plugin (attached) to change font styles
a. the font itself
b. increase/decrease: font size, letter spacing and line height (separately)
c. the font color to foreground color
to apply inside: active group, active group & subgroups, or whole image.

I find it especially useful for treatment of files with a lot of text layers (maps, diagrams)  after scaling the whole image. With a hitch: the plugin works only on text layers, and that property disappears on scaling, to be restored only by clicking on the layer with the text tool and accepting 'edit'--somewhat uphill when you have 20+ text layers.
Now, my question is: can there be some way to restore the text to editable from a plugin? (It will be on the wrong font size and requiring further adjustments, but one can always work on a copy.)
After much digging, I have found that those former text layers return on

Code:
pdb.gimp_item_get_parasite_list()

a 'tuple' containig "gimp-text-layer" (so, one can pick them out from the other layers), but I haven't found any way to restore them. Something like 'open as text layer' (with options) must exist in the Gimp internals...
So, please: any ideas?
Thanks!



Attached Files
.zip   group_stylefont_V3.zip (Size: 1.83 KB / Downloads: 482)
Print this item

  ofn-jigsaw
Posted by: Ofnuts - 10-13-2019, 08:00 PM - Forum: Extending the GIMP - No Replies

ofn-jigsaw generates a jigsaw pattern as a path:

   

It can be used to bump-map a pattern into a picture:

   

Since you have a path some effects are much easier than with the standard plugin:

   

Available here.

Enjoy.

Print this item

  Help with plugin
Posted by: carmen - 10-10-2019, 05:33 PM - Forum: Scripting questions - Replies (4)

Hello!
My first attempt in phyton, and... plugin doesn't register. Huh Suspect fault is something very basic... Sad
Can somebody help, please?
Many  thanks!



Attached Files
.zip   group-text2path.zip (Size: 1,005 bytes / Downloads: 405)
Print this item

  Automation questions.
Posted by: PSNick - 10-10-2019, 01:00 AM - Forum: Scripting questions - Replies (6)

Hello,

I am using Python 3 to edit some images successfully using PIL, but there are things that I'm unable to do with it and was hoping to call gimp from python for those specific tasks.

What I'm currently manually doing in GIMP and need to automate is:
1. Open Image
2. Select by color
3. Shrink selection
4. Select > To path
5. Export path.. [as svg] (accessing the svg information without saving the file would also work)

From what little I could see in the python console inside GIMP the following procedures can be scripted that seem to match the above requirements, though I wouldn't know how to do so yet:
1. file-png-load
2. gimp-image-select-color
3. gimp-selection-shrink
4. plug-in-sel2path
5. Can't find any.


What would be the best way to automate this process from the command line?

Thank you,
Nick

Print this item

  Cage Transform
Posted by: Terry50 - 10-10-2019, 12:31 AM - Forum: General questions - Replies (1)

Hello   Smile
After I conclude making the box,  is there a way to move all the squares I want before it starts changing ?
When I move one square at a time,  it takes a long time to change..... when you wait for each  -  one at a time.  If I move 6 squares,  that is a long time.
Terry

Print this item

  GIMP for shapes
Posted by: Green Pig - 10-08-2019, 02:43 PM - Forum: General questions - Replies (3)

Hello folks,

I have been using GIMP on and off mainly for photo editing. My next task is to explore creating designs using mainly shapes such as directional arrows similar to below image.

Having experimented with pasting into a blank canvas, the options available seems fairly limited "the selection has no editable parameters" is often encountered, really what I would like to know is this a good tool to use or would I be better learning say a vector based program and go from there?

Thank you


[Image: pointed-directional-arrows-vectors.png]

Print this item

Wink Gimp 2.10 Issue Imput Output
Posted by: Hullo - 10-08-2019, 12:38 PM - Forum: General questions - Replies (3)

Hi everyone, i'm new forum user.
I've been using gimp for a year and everithings running ok until yesterday night when a input output error was appeared.

[Image: Immagine.jpg]
Translate:
impossible to read the content c:\pagefile.sys

in addition to this problem nick collection free tools has stopped working.

Can someone help me??

Print this item

  Padding Selection
Posted by: akovia - 10-07-2019, 01:02 AM - Forum: General questions - Replies (2)

Something I have always been curious about is why selection tools can reach out into the padding past the canvas. The adjustment handles land past the canvas edges and I can't think of a reason why that would be useful. I'm sure someone has an answer though.

I believe an option to Constrain to Canvas Edges would be useful. Then you could over-select with a tool and grab the adjustment handles right where you want to make the adjustment. It's a small thing but seems much more intuitive to me. 

Anyone else ever thought this too?

   

Print this item

  Subtract From Selection. Bucket-Fill-Tool outside shape
Posted by: datalars@mail.com - 10-05-2019, 01:25 PM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (6)

I'm a total gimp-newbie and this is probably an easy thing to do but I'm failing. I have three layers. 

Layer 1. An image
Layer 2. A color(I chose foreground) which I have made a bit transparent.
Layer 3. A shape that does not totally cover layer two.

This shape I filled with a color with Bucket-Fill-Tool. That was no problem. But I want to fill the area outside the shape instead. I tried to do
Layer -> Transparency -> Subtract From Selection
but it didn't work. Any help is appreciated.

Print this item

  Subtract From Selection. Bucket-Fill-Tool outside shape
Posted by: datalars@mail.com - 10-05-2019, 01:07 PM - Forum: General questions - Replies (1)

I'm a total gimp-newbie and this is probably an easy thing to do but I'm failing. I have three layers.

Layer 1. An image
Layer 2. A color(I chose foreground) which I have made a bit transparent.
Layer 3. A shape that does not totally cover layer two.

This shape I filled with a color with Bucket-Fill-Tool. That was no problem. But I want to fill the area outside the shape instead. I tried to do
Layer -> Transparency -> Subtract From Selection
but it didn't work. Any help is appreciated.


I just realized I posted in the wrong Forum. Sorry about that. This can be deleted.

Print this item