Jump to content

Recommended Posts

Posted

Hello,

I would like to simply replace a specific colour in a picture. Background is that I have taken a picture of a bottle with a white background. But the white Background isn't exactly white, which is, however, important because I  want to use this picture on a website with a white background. I can't cut it out because I would loose the shadow and the picture would look odd.

I saw this feature on Corel Photo Paint and I believe it's also available in Adobe Photoshop where you could select a certain color and replace it with a color of your choice. I did not, however, find this feature on Affinity Photo (V2). That's why I would like to know if there's a similar feature available in Affinity Photo.

Thanks

 

Screenshot 2023-01-06 at 21.01.09.png

Posted

Hi @Maximilian and welcome to the forum.

It's not a 'specific colour", though. It's a range of colours (mostly light-grey-purples). Even in your screenshot I can see the stripes. And the shadow has been cropped off. If it were me, I would delete the entire background to white and then paint in a light shadow using a soft brush.

Your average punter isn't going to be too concerned about its precise placing as they focus on the bottle.

Affinity Photo 2.5.3,  Affinity Designer 2.5.3, Affinity Publisher 2.5.3, Mac OSX 14.5, 2018 MacBook Pro 15" Intel.

Posted

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Posted

Two different methods come to mind.

1. Use the levels to lift the underexposed background up. Pull the slider from the highlights side down. I would make a rough selection of the background first because it can over-brighten the subject rather quickly. Paint back any missing shadow or smoothen the transition with the mask.

2. Use divide to remove the background tone. Select the colour of the background, add a fill layer (it will have the selected olour) and set it to "Divide". Here too, you can paint back any shadow or detail you need. 

Method 2 works best if the subject is underexposed in the same way as the background. Otherwise you'll need to edit both independently. 

 

 

  • 1 year later...
Posted

With Irfanview, that I've been using for 20 years +, to change colour we can simply click on a colour in the image and replace with another colour, adjusting tolerance to cover a range. So simple! 

Posted

You can use a HSL adjustment in Photo or Designer (but there you won't have info panel).

 

  1. add a HSL adjustment below on top
  2. Add a rectangle shape in the target color on top
  3. add to info panel color sampler. one in the target color area, on in the area you want to match. set both to "fixed position", and HSL
  4. now use the HSL adjustment. choose one of the 6 color circles matching the old color best
  5. adjust color shift so the result it roughly matches the target, either visually or numerically with info panel
  6. adjust lightness if required
  7. adjust tolerance if required

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.

 

Posted

In this case also a simple White Balance adjustment might help (and offers a Picker to select a colour).

whitebalance.jpg.7fb1c68ee0864617f36dc06d856f3c46.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

  • 8 months later...
Posted
On 2/10/2024 at 9:42 AM, Lel said:

With Irfanview, that I've been using for 20 years +, to change colour we can simply click on a colour in the image and replace with another colour, adjusting tolerance to cover a range. So simple! 

Today I decided I need a proper image editing program and installed Affinity Designer for a task that needed that, and some basic text / graphic additions.

Funnily enough, I ended up doing the color replacement (converting a logo to a dark mode alternative) in Irfanview, that I've been using as an image viewing program for the last 20+ years. Definitely a feature that should be added, used a similar feature in Gimp years back when I was working on implementing icons to a HUD of a game, and they basically needed to be turned from a blue basic coloring to red

Posted
7 hours ago, MLind said:

Today I decided I need a proper image editing program and installed Affinity Designer

Welcome to the Affinity forums.

One comment: Designer is not primarily an "image editing" program. For that, you would want Affinity Photo.

-- 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.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.