Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Missing script-fu "refres...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
2 hours ago
» Replies: 10
» Views: 189
|
Macroglossum stellatarum
Forum: Watercooler
Last Post: denzjos
5 hours ago
» Replies: 0
» Views: 24
|
processes in Whitelist
Forum: OSX
Last Post: rich2005
Today, 09:45 AM
» Replies: 5
» Views: 149
|
Digikam: photo management...
Forum: Other graphics software
Last Post: denzjos
Today, 06:53 AM
» Replies: 7
» Views: 4,586
|
GIMP 3.04 opens with wind...
Forum: Windows
Last Post: SteveH
Yesterday, 11:47 PM
» Replies: 0
» Views: 62
|
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: rich2005
Yesterday, 12:12 PM
» Replies: 10
» Views: 3,119
|
Can't see GIMP windows
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Tankred
Yesterday, 11:48 AM
» Replies: 3
» Views: 250
|
Windows save
Forum: General questions
Last Post: sallyanne
Yesterday, 06:27 AM
» Replies: 3
» Views: 337
|
Trying to append part of ...
Forum: General questions
Last Post: Denarius
06-30-2025, 12:26 PM
» Replies: 5
» Views: 326
|
clone tool
Forum: General questions
Last Post: sallyanne
06-30-2025, 12:38 AM
» Replies: 6
» Views: 406
|
|
|
Image goes transparent |
Posted by: Jack Parker - 03-04-2019, 09:32 PM - Forum: Extending the GIMP
- Replies (2)
|
 |
I am trying to add a "border" to my images, to bring then to a common, standard size.
(the "border" being a solid COLOR)
The images are RGBA in PNG;
With some image pixels and thin surround of transparent pixels
(the result of cleaning away various scanner artifacts)
The good bits of these base images have irregular perimeter, so:
Plan-A: resize image to new size; insert-layer below, select-all, edit-fill-selection with FG/COLOR in the new/background layer
(all that works)
And then merge-down the top/original layer to the background.
And the resulting layer is all TRANSPARENT!?
Note: If I step through the undo stack, and get to the point where the merge happens,
and do it "manually" with the menu: Layer -> Merge Down it works as expected.
Note: I have tried several variants, with gimp-layer-new and gimp-copy-layer,
and have logged/verified the gimp-layer-get-mode of all concerned.
Note: I also tried with merge-visible-layers
read all the docs on layers and merge, saw the sample code
In all cases, the "merge" removes the layers, and produces a blank/transparent layer.
Plan-B: keep it simple, just the single, original layer, resize and fill:
select the contents of the [original/only] layer, fuzzy-select the picture, flood, sharpen (all good)
Then resize the image, resize-layer-to-image; selection-invert; edit-fill-selection with FG/COLOR
(gimp-context-set-foreground fill-color)
(gimp-drawable-edit-fill drawa FILL-FOREGROUND)
Because *that* should just-work nothing interesting or new, right?
Note: I have a shared routine for this, to save context/undo, it works as expected in other cases;
but using the procedure, or the simple/direct code as show, the effect is the same
but for this use-case it does the unimaginable:
To my shock and dismay, edit-fill-selection
(with Selection being the NEW/Transparent bits, outside the original pixels)
(and with FG = COLOR)
Sets the non-selected pixels to TRANSPARENT!
(unless I step in with the Undo; and "manually" Fill-Selection with FG; *then* it works as expected)
So now I appeal to greater wisdom.
Is this a known failure mode?
Some limit to scripting?
How can this be scripted?
(I'll even do python... )
Reduced to a simpler script, I can make the basic methods work.
So the question is: are there known things to look for that would cause fill selection and/or merge-down to go TRANSPARENT?
|
|
|
Where is the Heal selection/transparency tool? |
Posted by: Leader344 - 03-04-2019, 12:50 AM - Forum: General questions
- Replies (6)
|
 |
I am a new GIMP user and have a heal tool question as well. Saw a you tube video on using Wavelet Decompose and scales to remove "speckling" (white spots) from an old black and white photo. The process required me to use "select by color" to identify the white speckles (which I did). Then run Filters / Enhance / Heal Selection to remove the identified speckles from each scale. My problem is I don't have Heal Selection under Filters / Enhance. Any help or direction is appreciated!
|
|
|
Texture Map: How to recreate an image from scattered selections? |
Posted by: popopogogogo1 - 03-03-2019, 10:36 AM - Forum: General questions
- No Replies
|
 |
Hello all,
I am working on a game texture of a sports arena. The Arena texture (the stage specifically) comes in 2 .png files made up of all the stage parts' textures rotated and squished together to fit into the the 2048x1024 canvases.
![[Image: 2hwme01.png]](http://i65.tinypic.com/2hwme01.png)
This particular stage has 3 pillars, mirrored on either side of the entrance way. The pillars themselves are made up of different pieces (highlighted here in blue, red, green) and stand in front of the stage, obscuring some other panels (highlighted in white).
The White panels fit together in the texture map, into a rectangle (2 white selections in the texture map1)
![[Image: 281ecnr.png]](http://i65.tinypic.com/281ecnr.png)
Which is the area I want to replace with a flat mage that takes up the whole rectangle, and is not obscured by the three pillars.
![[Image: 143mjo5.png]](http://i67.tinypic.com/143mjo5.png)
I essentially want to eliminate the pillars, by having them display the texture that will be behind them.
An example for clarity, say the background image I wanted to use was a beautiful picture of Stockholm,
![[Image: fth3er.png]](http://i66.tinypic.com/fth3er.png)
The issue I have is that I'm a beginner to gimp, and the selections are scattered around the texture map in different rotations and placements.
So I need help with the best method of taking the individual selections from the texture map, overlaying them onto the desired background image, copying it, then taking that selection and pasting back to the texture map to its original location (with rotation and placing). So that the game will display one image across the whole side (mirrored on the right as well).
Ideally, I would end up with an .xcf file of all the texture pieces, and a process whereby I could replicate with different background images, creating different stages without having to do all the selecting every time.
Please ask any questions if I have left out some needed information.
Thank you for your time.
|
|
|
Exclamation mark feathering menu |
Posted by: Green Pig - 03-02-2019, 08:59 PM - Forum: General questions
- Replies (10)
|
 |
Hi folks, originally posted to another GIMP forum until I realized no longer active.
Total newbie here following tutorials for background blurring.
Only issue appears to be the exclamation mark at the 'feathering' step, the defaults appear to have changed but cannot find anywhere a reason for red triangle - results vary on two different machines with same GIMP 2.10.8 and OS, Win 2010 Pro.
Tried various images and ratios thinking it could have something to do with aspect, and or ratio with background image -
Accessing the online help doesn't give any clues either, help appreciated.
Thanks,
|
|
|
Blur by color? |
Posted by: T0byWan - 03-02-2019, 07:43 PM - Forum: General questions
- Replies (1)
|
 |
I have a rather simple black and white image that's going to be used as a depth map for engraving. I need the blur between the black and white areas to create shades of grey, but I want the black areas to bleed into the white in a way where the black areas will remain completely black, and only the white areas will change to become more grey in the border areas. Hopefully that makes sense. can anyone tell me how to do this?
|
|
|
|