PhilDarb Posted June 5, 2022 Posted June 5, 2022 I have a photograph of a house with grey walls and I want to change it so that the wall appear white. I imagined this would be a simple application of the Colour Replacement Brush tool. Tool selected, colour selected, layer selected (and automatically rasterised) Run the brush over the image and nothing happens! I mean nothing. Tool just doesn't seem to work. If I switch to the paint brush tool that works fine, but, of course, I don't get the shading of the original photo. I've re booted Affinity photo, switched tools, reloaded the image, started a new file. Nothing seems to work. Any ideas? Quote
Old Bruce Posted June 5, 2022 Posted June 5, 2022 11 minutes ago, PhilDarb said: If I switch to the paint brush tool that works fine, but, of course, I don't get the shading of the original photo. You can change the Blend Mode of the brush in the Context toolbar to something other than normal, maybe overlay or lighten would work. Maybe Soft or Hard mix. In this case though I would use an Exposure Adjustment layer with its built in mask to lighten only the grey of the house walls. Mask out the rest of the image by first selecting the walls then apply the Adjustment layer. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.5.7 | Affinity Photo 2.5.7 | Affinity Publisher 2.5.7 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
firstdefence Posted June 5, 2022 Posted June 5, 2022 The brush is misnamed, it acts more like a hue brush. Care to share a sample of the image? Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
PhilDarb Posted June 5, 2022 Author Posted June 5, 2022 1 minute ago, firstdefence said: The brush is misnamed, it acts more like a hue brush. Care to share a sample of the image? 1 minute ago, firstdefence said: The brush is misnamed, it acts more like a hue brush. Care to share a sample of the image? Thanks. I know how the brush works and the effect it has. I've used it before. It just isn't working now. I may have forgotten a setting or something because I don't use it often, but it hasn't given me this problem before. Quote
PhilDarb Posted June 5, 2022 Author Posted June 5, 2022 10 minutes ago, Old Bruce said: You can change the Blend Mode of the brush in the Context toolbar to something other than normal, maybe overlay or lighten would work. Maybe Soft or Hard mix. In this case though I would use an Exposure Adjustment layer with its built in mask to lighten only the grey of the house walls. Mask out the rest of the image by first selecting the walls then apply the Adjustment layer. Thanks Bruce. That's an idea, but far more complicated that it needs to be. I just need the tool to work as it has in the past. Quote
walt.farrell Posted June 5, 2022 Posted June 5, 2022 23 minutes ago, PhilDarb said: I know how the brush works and the effect it has. I've used it before. It just isn't working now. I would be surprised if it would work for gray and white. But without your image it's hard to say more. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Old Bruce Posted June 5, 2022 Posted June 5, 2022 19 minutes ago, PhilDarb said: I just need the tool to work as it has in the past. I think this is a case of the poorly named Colour Replacement Brush tool. It is actually replacing the Hue of the colour. And Grey, White and Black have no colour Hue to replace. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.5.7 | Affinity Photo 2.5.7 | Affinity Publisher 2.5.7 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
PhilDarb Posted June 5, 2022 Author Posted June 5, 2022 3 hours ago, Old Bruce said: I think this is a case of the poorly named Colour Replacement Brush tool. It is actually replacing the Hue of the colour. And Grey, White and Black have no colour Hue to replace. Thanks, but it won't work with any colour. Quote
PhilDarb Posted June 5, 2022 Author Posted June 5, 2022 3 hours ago, Old Bruce said: I think this is a case of the poorly named Colour Replacement Brush tool. It is actually replacing the Hue of the colour. And Grey, White and Black have no colour Hue to replace. Thanks for your suggestion Bruce, but as I said, I have used this before successfully, it just won't work now at all with any colour. Quote
PhilDarb Posted June 5, 2022 Author Posted June 5, 2022 3 hours ago, walt.farrell said: I would be surprised if it would work for gray and white. But without your image it's hard to say more. Hi Walt. Thanks for your suggestion. It's not about the colour. The colour replacement brush won't work whatever colour I select. It just doesn't seem to be selecting the pixels. There's nothing to see on the image because this was my first action. Quote
walt.farrell Posted June 5, 2022 Posted June 5, 2022 1 hour ago, PhilDarb said: Hi Walt. Thanks for your suggestion. It's not about the colour. The colour replacement brush won't work whatever colour I select. It just doesn't seem to be selecting the pixels. There's nothing to see on the image because this was my first action. A screenshot, including the full application window, and the Layers panel, would be useful. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
firstdefence Posted June 5, 2022 Posted June 5, 2022 Try this test file: colour replacement test.afphoto with the colour replacement brush selected, choose a colour, now mouse over the white, greys and black and nothing will happen but mouse over the 3 coloured bars and there will be a hue change. You can do the same thing with a white brush, grey brush or a black brush, over the colours you will see grey but nothing over the white grey and black bars. Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
PhilDarb Posted June 5, 2022 Author Posted June 5, 2022 50 minutes ago, walt.farrell said: A screenshot, including the full application window, and the Layers panel, would be useful. Here you are Walt. Maybe you can see something. Although I've been messing around with it for a while, so I've tried all I can think of. Quote
walt.farrell Posted June 5, 2022 Posted June 5, 2022 Thanks. Well, as we've said, it is really a Hue Replacement Brush, not a Color Replacement Brush. With your photo, I find that using White with that tool largely seems to give a desaturation effect. I've pointed to a couple of places in the foreground where you can see that after I did it. Also, the sky, and some of the roof. It certainly will not turn gray walls white. Here's another way to demonstrate that. Start with your original image. Add an HSL Adjustment Layer. Now, without changing anything else, move the Hue slider around from one end to the other. What you see in the image are the only "colors" you can get using the Color (really Hue) Replacement Brush, because it will only replace Hue, leaving Saturation and Lightness unchanged. (I would show a recording, but I can't do that properly on my system at this time.) Edit: Also, what Brush did you choose in the Brushes panel, as that will make a difference, too. It won't let you get the effect you want, but if you haven't chosen an appropriate brush whatever effect it is having might not be very visible. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
firstdefence Posted June 6, 2022 Posted June 6, 2022 Had a go with this, so, I blocked out sections of wall with the pen tool, creating panels of curve shapes filled with white, I grouped the blocks and used blend ranges on the group. You could probably do a bit of work to remove the water stains with the spot heal and inpainting tools. Its a step further and looks whiter for sure. Changed to orange to show curve layers better. NotMyFault 1 Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
PhilDarb Posted June 6, 2022 Author Posted June 6, 2022 20 minutes ago, firstdefence said: Had a go with this, so, I blocked out sections of wall with the pen tool, creating panels of curve shapes filled with white, I grouped the blocks and used blend ranges on the group. You could probably do a bit of work to remove the water stains with the spot heal and inpainting tools. Its a step further and looks whiter for sure. Changed to orange to show curve layers better. Wow! Thanks for this. It is a lot of work and I appreciate your effort. As you will have guessed I am trying to visualise changes I plan to make to this house. I thought I could do a relatively quick rendering. I still don't understand why the tool that I have used in the past to change the hue of elements in numerous photos isn't working. I would be interested to see some of your work though. You appear to have a bunch of skills that might be useful in my work and you are not far from me. For now though, would it be possible to get hold of your file? Quote
NotMyFault Posted June 6, 2022 Posted June 6, 2022 16 hours ago, PhilDarb said: Thanks Bruce. That's an idea, but far more complicated that it needs to be. I just need the tool to work as it has in the past. You probably had a image which looked grey, but had a fine noise like pattern of colored pixel who add up as grey when zoomed out. Please find a test image below. color replacement brush works on right side (with color noise), but not on the left side (pure grey). color replacement.afphoto Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted June 6, 2022 Posted June 6, 2022 If you prefer brush work over vector shapes: A simple hsl adjustment with luminosity increased, saturation lowered will do the job. Invert the inherent mask, than paint with regular white brush where you want the effect. I use this method normally to get white teeth in portraits. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
iconoclast Posted June 6, 2022 Posted June 6, 2022 If you say that it worked to lighten grey areas using the Colour Replacement Brush, could it be that you confuse it with the Dodge Brush Tool ("O"-key, that one with the Ping-Pong-Racket-Symbol)? Colour Replacement in fact only affects the hue. Grey (also black and white) is, strictly speaking, no colour, but a lightness. I think the Colour Replacement only affects the Lightness hue channel of the HSL colour space. An additional hint: to change the hue with a brush works with colour replacement, as we said, to change the lightness works with dodge (lighten) and burn (darken), to de/saturate works with the Sponge Brush Tool. Quote
walt.farrell Posted June 6, 2022 Posted June 6, 2022 1 hour ago, iconoclast said: I think the Colour Replacement only affects the Lightness channel of the HSL colour space. Wouldn't it only affect H, not S or L? iconoclast 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
iconoclast Posted June 6, 2022 Posted June 6, 2022 6 minutes ago, walt.farrell said: Wouldn't it only affect H, not S or L? Ah, sorry, yes it only affects the hue. Made a mistake. If you read the whole post, you will understand that, I think. Will correct it anyway. By the way, it could also be HSV in this case. I'm not sure about that. But it is not so important, I think. walt.farrell 1 Quote
firstdefence Posted June 6, 2022 Posted June 6, 2022 4 hours ago, PhilDarb said: would it be possible to get hold of your file? There you go. iad - House.afphoto Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.