Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,777
» Latest member: Jamesnex
» Forum threads: 7,593
» Forum posts: 41,393
Full Statistics
|
Latest Threads |
How to make a watermark o...
Forum: General questions
Last Post: kyolim
7 hours ago
» Replies: 5
» Views: 13,904
|
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
11 hours ago
» Replies: 1
» Views: 277
|
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
Yesterday, 05:20 PM
» Replies: 2
» Views: 189
|
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 07:53 AM
» Replies: 15
» Views: 11,801
|
Photo play-time
Forum: Gallery
Last Post: Ofnuts
Yesterday, 07:32 AM
» Replies: 24
» Views: 21,657
|
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 570
|
pl_stroke_arrows GIMP 3.0...
Forum: Extending the GIMP
Last Post: Scallact
09-12-2025, 04:03 PM
» Replies: 0
» Views: 233
|
How do you make text circ...
Forum: General questions
Last Post: rich2005
09-12-2025, 07:18 AM
» Replies: 12
» Views: 3,298
|
New Install, Black Screen...
Forum: OSX
Last Post: akhrameev
09-11-2025, 02:32 PM
» Replies: 3
» Views: 2,969
|
Trouble changing backgrou...
Forum: General questions
Last Post: tomatoSauce23
09-11-2025, 12:50 PM
» Replies: 6
» Views: 1,478
|
|
|
Script Fu process questions. |
Posted by: DaltonCalford - 11-25-2022, 08:10 PM - Forum: Scripting questions
- Replies (1)
|
 |
I am trying to automate a simple process, but, I am new to script-fu and trying to get my bearings.
I am going to describe what I am trying to do, where I am failing, and perhaps find an example to what I am trying to do.
The Task
I have an image (myimage.xcf) which has a background layer (256 by 256, RGB, background transparancy)
as well as 200 "mask" layers
The background image is a texture (think carpet or steel image)
The mask layers have two colors - black and white
The Process
This script need to run against the currently selected image, non-interactively
For each of the mask layers (named mask1, mask2 etc)
The script will make a copy of the background layer called "current work"
Using the current mask, it will select by color (black) switch to the "current work" layer and apply the script-fu-add-bevel
The script will then go back to the current mask layer and select by color(white), switch to the "current work" layer and delete the selection
The script will then export the "current work" to a png file, delete the "current work" layer and repeat the process for the next mask layer.
The Problem
The thing is, while I know I can refer to layers by number, how do I find a layers ID by name ie
While I can use (gimp-image-get-active-drawable 1) to get the layer number for the currently selected layer, how do I get the layer number for the layer named "background"?
I can set a layer manually at position 0, but, I can't find instructions on how to switch layers based upon position or to switch layers based upon name.
I wish there was a "recorder" process that just created a script that repeated what the user was doing like a macro, but, I can not find such a thing and it is beyond my ability to write it.
Any guidance on how to associate a layer(items) number based upon it's name or it's position in the layer list, would be appreciated.
Thanks in advance
|
|
|
Change 2 colours to 2 different colours |
Posted by: KS_ - 11-25-2022, 03:02 PM - Forum: General questions
- Replies (5)
|
 |
Hello to all,
I need to do the following in GIMP but as fast as possible... as I have to make this change in 900 other files.
Attached photo: Photo
I want the dark red colour to be black and the light red colour to be white and in this way I want to convert it to PNG format...
If I do it myself, with the pencil I have to click pixel by pixel... is there any way to change the colour faster... because to use it in the machine I need... it only allows black and white PNG.
Thanks!
|
|
|
Brush Dynamics |
Posted by: rich2005 - 11-25-2022, 09:37 AM - Forum: Gimp 2.99 & Gimp 3.0
- Replies (5)
|
 |
Looking at the paint dynamics in Gimp 2.99.14 , both linux from PPA and Windows, there is no Dynamics OFF. Easy enough to make one but I wonder why it is missing ? Is it on purpose or an omission ?
Ah... answering my own question, there is a enable dynamics tick box in the tool options that is not there in Gimp 2.10
|
|
|
PASTEing one Pic into Another |
Posted by: gaystan - 11-24-2022, 11:39 PM - Forum: General questions
- Replies (3)
|
 |
Hi everybody :
I'm still learning my way around GIMP. When PASTEing a photo
into an "open" photo (setting the inset photo as a layert), is there a
way to "unerase" the layered photo when I make a mistake. In other words,
to "fine tune" ERASEing the inset image to match the outline of the
base image ?
garystan
document.oncontextmenu = null; document.body.onpaste = null; document.body.onselectstart = null; document.onselectstart = null; document.ondragstart = null; document.body.oncut = null; document.onmousedown = null; document.body.oncontextmenu = null; document.body.oncopy = null; document.body.ondragstart = null; document.body.onmousedown = null;
|
|
|
Circle select gone |
Posted by: Gimpuser12 - 11-24-2022, 06:18 AM - Forum: General questions
- Replies (6)
|
 |
I'm new to Gimp and this kind of software in general. I'm using the clone and healing tools and must've clicked something wrong because now the ability to use either is not working. When I select either tool, there is no circle cursor, just two small crosses or a square targeting with the sides missing. Clicking control doesn't hold either in place. I've tried reseting Gimp to default settings and the issue persists.
|
|
|
Posting |
Posted by: gaystan - 11-23-2022, 05:47 PM - Forum: General questions
- Replies (5)
|
 |
Hi everybody :
What causes "garbage" to be shown under my post ?
garystan
document.oncontextmenu = null; document.body.onpaste = null; document.body.onselectstart = null; document.onselectstart = null; document.ondragstart = null; document.body.oncut = null; document.onmousedown = null; document.body.oncontextmenu = null; document.body.oncopy = null; document.body.ondragstart = null; document.body.onmousedown = null;
|
|
|
Adding Text |
Posted by: gaystan - 11-23-2022, 05:44 PM - Forum: General questions
- Replies (2)
|
 |
Hi eveybody :
When selecting TEXT>drawing text box on diplay, I notice an "Empty Layer"
keeps showing. When I type my text, it shows up in the Empty Layer. But I can't
see the text on the display. I'm trying to add text to a photo.
garystan
document.oncontextmenu = null; document.body.onpaste = null; document.body.onselectstart = null; document.onselectstart = null; document.ondragstart = null; document.body.oncut = null; document.onmousedown = null; document.body.oncontextmenu = null; document.body.oncopy = null; document.body.ondragstart = null; document.body.onmousedown = null;
|
|
|
|