Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

¡Hola, amigos! Yo soy – ? – ‘bien’ ? That's close enough for government work, right? Right. 

Today’s Big Question: How You Desaturate Dem Layer What Got Dem Color In It, Hah?

A simple question asked by a Simple Mind. Please ’splain me where I can find a simple equivalent of the Photoshop command Layer > Desaturate to remove color from a layer so that it becomes black and white and still responsive to Blend Modes. I've tried the HSL panel with spotty results. If HSL FX is applied as a PARENT layer, it functions marginally well. When the HSL FX are applied as the CHILD layer (a/k/a 'mask'), it's a whole ’nuther story. At that point, any ‘finesse’-ness is gone.

Adjustments made to the Child mask layer do not play nice with the Parent layer above. Insofar as experimenting with other FX (live or not), I continue to come up empty. HSL appears to be as close as I can get to where I want to be, but it's half-a-league, half-a-league as regards color removal with xparency FX and blend modality intact. 

In a perfect world, there should be a way to electronically tell the ware ‘Hey! I want the color removed from this layer. Just do it, ’kay.’ … but if there is such a method, I haven't yet found it. Oh please oh please oh please … Prithee, envelop me in thy Secret Sauce which removeth Color from a layer so that it majickally becometh un Noir et Blanc (and the Blend Modes are still next door). Thanks in advance to all.

Mac Pro (Mid-2010) G5, 2.8 GHz Quad-Core Intel Xeon i7; macOS ‘Sierra,’ 12GB RAM, ATI Radeon HD 5770; S271HL Acer Display (1920 x 1080); Affinity Designer, Photo, and Publisher 1.10.8, Photoshop CS6, Illustrator CS6, InDesign CS6, QuarkXpress 9.5.4.1, ON1 RAW 2020, Portrait Professional Studio64, Topaz Labs Suite, Nik Collection, LibreOffice; separate Western Digital external HDs for storage  

Proudly Wearing the Shame of ThoughtCrime …

Link to comment
Share on other sites

I don’t get what the exact issues are. It seems the main issue is the difference between

  • getting a desaturated layer (destructive workflow) vs
  • handling 2 separate bitmap layers and adjustments layers 

In case you want to use the desaturated result in additional edit steps. E.g. to apply a blend mode.

The basic trick: group both layers, and apply the blend mode to the group instead of the other layers. When the adjustment layer (for de-saturation) is open, lick "merge" instead of apply. This should behave almost identical to a (single) desaturated layer in PS.

Almost means that there are some restrictions, both  „by design“ and by unfixed bugs. To overcome, you can simply apply „rasterize“ to the group, to get what PS delivers in one step.

It seems to be a „by design“ decision of Affinity to offer destructive versions of filters, but do not offer destructive versions of adjustments.

PS:

the underlying problem in the situation (nested HSL or B&W adjustment)

Target: you want a desaturated layer and apply a blend mode to the result (blend of both layers)

if you change the BM of the bitmap layer, it gets applied before the adjustment (you want it applied as final step)

if you change the BM of the nested layer, now Affinity applies the BM to the adjustment layer individually and blends this with the bitmap layer (again not what you want, you want that applied to the result of both layers blended).

The difference probably does not matter in most cases, but can become a deal breaker in other situations, e.g. having more layers below the bitmap layer.

It is similar to basic arithmetic addition and multiplication and parentheses to control the sequence of execution.

 

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

To say it mathematically in a functional notation:

 

P pixel layer

A desaturate adjustment

BL blend of two layers

BM blend mode applied to a layer

(1) PS: desaturate layer, apply blend mode to the result

res-ps= BM(A(P))

(2) adjustment atop pixel layer, BM set on top layer

res-2 =BL(BM(A(P)), P)

(3) adjustment nested, BM set on pixel layer

res-3 =BL( A(BM(P)), BM(P))

(4) grouped and BM set on group level

res-4 = BM (A (P))

Even if the formulas are too much mathematical for you, you can see that only res-4 is the same formula as res-ps.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

5 hours ago, NotMyFault said:

It seems to be a „by design“ decision of Affinity to offer destructive versions of filters, but do not offer destructive versions of adjustments.

The destructive version of an adjustment is easy: just click on the adjustment thumbnail to get the dialog if it's not already open, and  push the Merge button.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Hello again, and thanks to all for your contribution to arriving one day in the not-too-distant future at La Soluciòn … and the trip continues (even as we speak).

RichardMH: The Majick 8-Ball says ‘Yes’ …

NotMyFault: First, thanks for your confidence that I'm ‘mathematical’ (if it's beyond the ‘2+2’ stage, I'm lost). I almost want to flatter myself and believe I'm comprehending the solution you advance, but that would probably be overestimation by a factor of at least 2x on my part. I do, on the other hand, grasp the concepts you present.

What I'm attempting to realise in AP is: (a) Base Layer is the color image layer; (b) Layer atop BL (L1) is the layer to be converted from color (let's say it's a sheet of textured yellow paper) to BW. Goal: Remove (desat) all yellow from (L1) without rasterising to convert it to greyscale and then use Blend Modes to adjust its FX on BL. If I HAVE to rasterise the layer to achieve that, well, I'll have to rasterise the layer, yes? Please advise …

Walt: Thanks again for your input. I'll assume that the term ‘adjustment thumbnail’ = ‘target layer’, yes? If that assumption is correct, then I should (extending the ‘textured yellow paper’ from above) click on the ‘TYP’ thumbnail to force-present the dialogue, and select ‘Merge’, yes? That seems to be worth a try. Best result is that it works, yes? 

Thanks again to all … I'm off once more To See The Whizzard …

Mac Pro (Mid-2010) G5, 2.8 GHz Quad-Core Intel Xeon i7; macOS ‘Sierra,’ 12GB RAM, ATI Radeon HD 5770; S271HL Acer Display (1920 x 1080); Affinity Designer, Photo, and Publisher 1.10.8, Photoshop CS6, Illustrator CS6, InDesign CS6, QuarkXpress 9.5.4.1, ON1 RAW 2020, Portrait Professional Studio64, Topaz Labs Suite, Nik Collection, LibreOffice; separate Western Digital external HDs for storage  

Proudly Wearing the Shame of ThoughtCrime …

Link to comment
Share on other sites

15 minutes ago, Dr_No said:

What I'm attempting to realise in AP is: (a) Base Layer is the color image layer; (b) Layer atop BL (L1) is the layer to be converted from color (let's say it's a sheet of textured yellow paper) to BW. Goal: Remove (desat) all yellow from (L1) without rasterising to convert it to greyscale

The obvious answer is:

  1. Select L1 in the Layers panel.
  2. Click the Adjustments icon at the bottom of the Layers panel and choose a Black & White Adjustment.

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Hola Dr_No.

12 hours ago, Dr_No said:

...equivalent of the Photoshop command Layer > Desaturate to remove color from a layer...

The closest i can think of:
Edit > Fill (Shift+F5) and choose a neutral color (black/white) set to "Colour" blend mode

Dont know if this will work with your workflow, but you can try to do the same non-destructively by opening Layer Fx:
Select "Colour Overlay" and choose a neutral color set to "Colour" blend mode

Link to comment
Share on other sites

Walt, Lisbon, and RichardMH … the technique that finally approximated (but didn't duplicate) Photoshop’s Layer > Desaturate command was a 'kinda-sorta' combination of all three approaches. Easiest method was applying a HSL layer to the image to set a correct value for the ‘look’ and ‘lightness/darkness/texture’, then make it the Child layer. Once the proper values were plugged in, it was possible to click the Parent layer to pick a blend mode to approximate the look and ‘feel’ I wanted. It's not what could be called 'intuitive' by any means; rather more ‘blunt force and immediate trauma’, but it provides the closest match to the ‘look’ I wanted. I can remain hopeful that a true Layer > Desat command will be putting in an appearance in future iterations of the ware, yes? Thanks again to all for your assistance.

Mac Pro (Mid-2010) G5, 2.8 GHz Quad-Core Intel Xeon i7; macOS ‘Sierra,’ 12GB RAM, ATI Radeon HD 5770; S271HL Acer Display (1920 x 1080); Affinity Designer, Photo, and Publisher 1.10.8, Photoshop CS6, Illustrator CS6, InDesign CS6, QuarkXpress 9.5.4.1, ON1 RAW 2020, Portrait Professional Studio64, Topaz Labs Suite, Nik Collection, LibreOffice; separate Western Digital external HDs for storage  

Proudly Wearing the Shame of ThoughtCrime …

Link to comment
Share on other sites

It can be a mess of layers and masks, etc. to recolour some part without modifying the background.

Since it's not really a science, here an example file of some cover I did using a scan of characters I needed to move and recolor also. The good point was the "grunge" aspect that give more leeway...

But at some point, I needed masks, duplication, erase white paper...

couv_petits_coeurs_cachotteries.afphoto

Link to comment
Share on other sites

8 hours ago, Dr_No said:

I can remain hopeful that a true Layer > Desat command will be putting in an appearance in future iterations of the ware, yes?

I dare to doubt that very much. There already are a number of ways to desaturate layers, and Serif has no interest in precisely replicating Adobe Photoshop's behavior.

Link to comment
Share on other sites

Wosven … love the textures you've used in that example. Quite nice. I'll be studying some of those FX, too. Thanx for the send.

 

Kaffeeundsalz, danke - you're probably right. If I were in Serif's position, I'd probably feel the same way (even tho’ that feeling is at the moment a bit of a bother during the execution phase of the process).

Mac Pro (Mid-2010) G5, 2.8 GHz Quad-Core Intel Xeon i7; macOS ‘Sierra,’ 12GB RAM, ATI Radeon HD 5770; S271HL Acer Display (1920 x 1080); Affinity Designer, Photo, and Publisher 1.10.8, Photoshop CS6, Illustrator CS6, InDesign CS6, QuarkXpress 9.5.4.1, ON1 RAW 2020, Portrait Professional Studio64, Topaz Labs Suite, Nik Collection, LibreOffice; separate Western Digital external HDs for storage  

Proudly Wearing the Shame of ThoughtCrime …

Link to comment
Share on other sites

There are really many ways to turn colored images into greyscales. If you don't like the filters "Black/White" and "HSL", you can also create an additional pixel layer, fill it with some sort of grey (even black or white) and apply the blend mode "Saturation" to it.

Another nice opportunity, I used for a long time, is the filter "Simulate Film" in the "Color" category of the free G'MIC plugin (more than 500 additional filters). It contains a list of different presets that simulate classic black&white photo films. But unfortunately this is a destructive method. There are also some other filters in this plugin that can desaturate an image.

Another opportunity could be to use a LUT. This would be a very easy and non-destructive way, if you can find a LUT that fits your needs.

The roughest way would be of course to change the color space into greyscales.

Link to comment
Share on other sites

Iconoclast, I'd love to use G'Mic, but everything I see at its site states that they're ever so sorry, but Mac users are out of luck when it comes to using their ware. Granted, I may be (and probably am) overlooking something staring me direct in the eye, but I found no link there to d/l a Mac version of G'Mic. That's a shame, ’cos Olivio has put out a great tute describing how to use it. The 'Simulate Film' option would probably have done the trick. Tried the LUT solution, but it required much more input and fiddly-ness that wasn't rewarded with a satisfactory result.

Mac Pro (Mid-2010) G5, 2.8 GHz Quad-Core Intel Xeon i7; macOS ‘Sierra,’ 12GB RAM, ATI Radeon HD 5770; S271HL Acer Display (1920 x 1080); Affinity Designer, Photo, and Publisher 1.10.8, Photoshop CS6, Illustrator CS6, InDesign CS6, QuarkXpress 9.5.4.1, ON1 RAW 2020, Portrait Professional Studio64, Topaz Labs Suite, Nik Collection, LibreOffice; separate Western Digital external HDs for storage  

Proudly Wearing the Shame of ThoughtCrime …

Link to comment
Share on other sites

Thanks to all for your input and comments. If you (like I) have been wondering ‘What's he on about anyway? And why?', I've attached L'Image Final with this so you can peruse it at leisure. The FX were needed for the overlays and textures, not so much for individual pieces 'n parts of the image … Enjoy, and thanks again.

Caboose Door_7456_12202019.jpg

Mac Pro (Mid-2010) G5, 2.8 GHz Quad-Core Intel Xeon i7; macOS ‘Sierra,’ 12GB RAM, ATI Radeon HD 5770; S271HL Acer Display (1920 x 1080); Affinity Designer, Photo, and Publisher 1.10.8, Photoshop CS6, Illustrator CS6, InDesign CS6, QuarkXpress 9.5.4.1, ON1 RAW 2020, Portrait Professional Studio64, Topaz Labs Suite, Nik Collection, LibreOffice; separate Western Digital external HDs for storage  

Proudly Wearing the Shame of ThoughtCrime …

Link to comment
Share on other sites

2 hours ago, iconoclast said:

If you don't like the filters "Black/White" and "HSL", you can also create an additional pixel layer, fill it with some sort of grey (even black or white) and apply the blend mode "Saturation" to it.

I think the blend modes "Hue" & "Color" will do the same thing, right?

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

2 hours ago, iconoclast said:

Another opportunity could be to use a LUT. This would be a very easy and non-destructive way, if you can find a LUT that fits your needs.

As you say, there are many ways. Lately I've been using a Gradient Map Adjustment, for example.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

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.