Replace Gold Splotches
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Replace Gold Splotches | lanierprintables | 16 Nov 16:44 |
Replace Gold Splotches | Liam R. E. Quin | 16 Nov 18:21 |
Replace Gold Splotches | lanierprintables | 16 Nov 19:51 |
Replace Gold Splotches | Steve Kinney | 17 Nov 19:14 |
Replace Gold Splotches | Steve Kinney | 19 Nov 08:58 |
Replace Gold Splotches | rich2005 | 19 Nov 13:08 |
Replace Gold Splotches | rich2005 | 19 Nov 13:29 |
Replace Gold Splotches | rich2005 | 19 Nov 18:53 |
Replace Gold Splotches | Steve Kinney | 20 Nov 23:49 |
- postings
- 3
Replace Gold Splotches
Can someone tell me if/how I can use Gimp to replace the goldish splotches with my own pattern? I've been able to get the pattern into Gimp. But can't figure out if I can replace the splotches and dots with it. Any input is greatly appreciated!!!
Jamie
-
Splotches
icm_fullxfull.107043823_salut2fnu0go0cks8www.jpg (2.53 MB)
Replace Gold Splotches
On Wed, 2016-11-16 at 17:44 +0100, lanierprintables wrote:
Can someone tell me if/how I can use Gimp to replace the goldish splotches with
my own pattern?
One way might be to use select by colour (shift-O) on the gold until
you have all of it. You might need to deselect the human outline on the
left. To do that,
(1) in tool options, with select-by-colour active, reduce the threshold
probably to 1 or 2
(2) hold control down and click in that outline, on one of the whitish
lines.
This may leave 1-pixel holes in the selection of the gold. That's OK,
grow your selection by 1 pixel. select->grow.
Now feather the selection by 1 pixel (select->feather) to blur the edges slightly.
Now, if you have your patten as a layer in the image below the main part, edit->cut will make holes in the top layer and you'll see through to the pattern. If it just makes the gold solid background colour, undo, show the layers dock (control-l), right-click on the layer's name and "add alpha channel" which is gimp-jargon for "allow transparency on this layer". Then do the cut again.
An alternative is to use the bucket fill tool and fill with pattern. You can have the pattern open as anothe image and do edit->select all (control-a) and then edit->copy (control-c), and then go back to the main image and one of the patterns in the Tool Options dock for the bucket fill tool will be the clipboard.
Liam
Attachments:
* http://www.gimpusers.com/system/attachments/325/original/icm_fullxf ull.107043823_salut2fnu0go0cks8www.jpg
Liam R. E. Quin
- postings
- 3
Replace Gold Splotches
Than you so much for the great information! When you say CUT can you be more specific? Thank you so much for your time!
Replace Gold Splotches
On 11/16/2016 01:21 PM, Liam R. E. Quin wrote:
On Wed, 2016-11-16 at 17:44 +0100, lanierprintables wrote:
Can someone tell me if/how I can use Gimp to replace the goldish splotches with
my own pattern?One way might be to use select by colour (shift-O) on the gold until you have all of it. You might need to deselect the human outline on the left. To do that,
(1) in tool options, with select-by-colour active, reduce the threshold probably to 1 or 2
(2) hold control down and click in that outline, on one of the whitish lines.
This may leave 1-pixel holes in the selection of the gold. That's OK, grow your selection by 1 pixel. select->grow.Now feather the selection by 1 pixel (select->feather) to blur the edges slightly.
Now, if you have your patten as a layer in the image below the main part, edit->cut will make holes in the top layer and you'll see through to the pattern. If it just makes the gold solid background colour, undo, show the layers dock (control-l), right-click on the layer's name and "add alpha channel" which is gimp-jargon for "allow transparency on this layer". Then do the cut again.
An alternative is to use the bucket fill tool and fill with pattern. You can have the pattern open as anothe image and do edit->select all (control-a) and then edit->copy (control-c), and then go back to the main image and one of the patterns in the Tool Options dock for the bucket fill tool will be the clipboard.
Another alternative, a bit more complicated but possibly worth it if you have to make adjustments to your selection, or tweak the pattern independently of the rest of the image, is to use a layer mask:
Put your pattern on a layer of its own, put your image on a layer above that, and add a layer mask to the top layer (your original image). Right click the top layer in the Layers dock, select Add Layer Mask, accept the white / full opacity default.
Select the gold regions as above, then add a mask to the layer: Right click the top layer in the Layers dock, select Add Layer Mask, accept the default White option in the dialog that opens, and hit OK.
Then drag and drop black from your color selector to the canvas to make the selected areas of your image layer transparent. The pattern on the layer below your image will show through "holes" created in the original image by the black parts of its layer mask. Now you can dismiss your complex selection, and make adjustments to the mask as necessary. For instance, if you see a gold fringe around the edges of your "deleted" regions, you can do Filters > Generic > Erode to expand the black regions on the mask, removing the fringe.
This method is non-destructive; you can "bring back" bits of the original image layer by painting with white on its mask, or eliminate bits of the original image layer by painting with white on the mask. In the case at hand that may not be necessary, but being able to adjust the edges of "deleted" regions comes in handy quite often. This method also enables you to adjust the brightness, color, etc. of the pattern layer independent of the original image layer, change it to a different one or etc., without having to leave your complex selection in place through subsequent editing processes.
:o)
Replace Gold Splotches
On 11/17/2016 02:14 PM, Steve Kinney wrote:
Nuts. I was re-reading this thread and I noticed that below, I duplicate the instructions to create a layer mask. The second one doesn't count, that's the price I pay for carelessness in cut and pasted editing. Ouch.
:o/
Another alternative, a bit more complicated but possibly worth it if you have to make adjustments to your selection, or tweak the pattern independently of the rest of the image, is to use a layer mask:
Put your pattern on a layer of its own, put your image on a layer above that, and add a layer mask to the top layer (your original image). Right click the top layer in the Layers dock, select Add Layer Mask, accept the white / full opacity default.
Select the gold regions as above, then add a mask to the layer: Right click the top layer in the Layers dock, select Add Layer Mask, accept the default White option in the dialog that opens, and hit OK.
Then drag and drop black from your color selector to the canvas to make the selected areas of your image layer transparent. The pattern on the layer below your image will show through "holes" created in the original image by the black parts of its layer mask. Now you can dismiss your complex selection, and make adjustments to the mask as necessary. For instance, if you see a gold fringe around the edges of your "deleted" regions, you can do Filters > Generic > Erode to expand the black regions on the mask, removing the fringe.
This method is non-destructive; you can "bring back" bits of the original image layer by painting with white on its mask, or eliminate bits of the original image layer by painting with white on the mask. In the case at hand that may not be necessary, but being able to adjust the edges of "deleted" regions comes in handy quite often. This method also enables you to adjust the brightness, color, etc. of the pattern layer independent of the original image layer, change it to a different one or etc., without having to leave your complex selection in place through subsequent editing processes.
:o)
_______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
Replace Gold Splotches
Can someone tell me if/how I can use Gimp to replace the goldish splotches with my own pattern? I've been able to get the pattern into Gimp. But can't figure out if I can replace the splotches and dots with it. Any input is greatly appreciated!!!
Not the easiest to either color-select or create a mask, due to the 'pattern' effect in the gold.
A quick way
Covert the image to indexed mode with a reduced palette - say 16 colours.
Edit the colormap to remove the gold-ish colors. There is about 6 of them.
Put the mode back to RGB.
There is still a scattering of light colored pixels in the background, use Filters -> generic -> erode to shrink to nothing.
The grey lettering can be improved a little, color select, grow a pixel, fill the selection with the grey.
The the black 'boutique' is the same as the background, put it in manually in some other colour.
rich: www.gimp-forum.net
-
using indexed palette
via-indexed.jpg (610 KB)
Replace Gold Splotches
Sorry, totally misread the subject.
Same procedure using indexed mode, this time change all the gold-ish colours to the same basic colour, I used red.
Back to RGB mode, Add an alpha channel
Color select that colour red and cut.
That gives the attached. Put a new layer under that and fill with your pattern.
rich: www.gimp-forum.net
-
png with alpha
from-indexed.png (514 KB)
Replace Gold Splotches
Guilty of being over-complicated
With the limited grey - blue - black colours you can color-select the splodges with color-select in additive mode reasonably easily.
To save a lot of writing, a short video demo, only 2 and a half minutes including explanations.
hope it helps
rich: www.gimp-forum.net
Replace Gold Splotches
On 11/19/2016 01:53 PM, rich2005 wrote:
Guilty of being over-complicated
With the limited grey - blue - black colours you can color-select the splodges with color-select in additive mode reasonably easily.
To save a lot of writing, a short video demo, only 2 and a half minutes including explanations.
hope it helps
rich: www.gimp-forum.net
Just for grins I took a copy of the sample image that was uploaded and made the gold bits transparent. It was easy, because I selected everything /but/ the "gold" and then inverted the selection.
Using the Select By Color tool, click once to select all the black, then hold down the shift key to select the blue and etc.
There will be stray pixels that did not get selected, due to color variations produced by anti-aliasing. So, zoom WAY in and start selecting those strays with the same tool, holding the shift key down of course, until everything you want to keep is selected. That took me a minute or two.
Then do Select > Invert and viola, a precise selection of the "gold" only, to do with as ye will.
:o)