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!
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?
Hello
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
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?
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.
Translate:
impossible to read the content c:\pagefile.sys
in addition to this problem nick collection free tools has stopped working.
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.
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'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.