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

Layer Blend Option Preset?


Recommended Posts

Is there a way to have a preset for a layer blend option curve?

I have greyscale image plans exported from a drafting program, and would like to bulk edit files to make the white in the drawing transparent for placing in presentations. 

I found a way to do this here: Affinity Forum: Make white transparent, and it seems to work in my drawing. 

Attaching drawing, pre and post edit, and a snip of the layer blend curve I am trying to set. 

Plan - Pre edit.png

Plan - Post edit.png

Screenshot 2023-04-23 at 8.50.29 AM.png

Link to comment
Share on other sites

There doesn't seem to be a way to create a Preset, per se. However, there some alternatives that might work for you.

For example, you could create a Group, and apply the Blend Ranges to the Group. After that, you can put your drawing inside the Group, and the Blend Ranges will apply. You might even create an Asset from the Group to save it for later reuse. (Note: if you leave the Group empty, it will be hard to see as an Asset, so you might want to put something in it, which you can later delete when you drag the Asset to your project.

Or, you could create a Layer (in Designer or Publisher) and apply the Blend Range to that Layer, and proceed as above.

-- 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

And, in addition to Walt's hints, here a workaround in case the image layers don't have any style assigned:

You can copy a selected object which has the desired blend range set, then select one or more other objects to apply this setting via menu "Paste Style". – Accordingly you can create a style in the Styles Panel with the wanted blend range curve and use this to assign it to future objects.

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

Link to comment
Share on other sites

1 hour ago, LightCreator said:

Is there a way to have a preset for a layer blend option curve?

I have greyscale image plans exported from a drafting program, and would like to bulk edit files to make the white in the drawing transparent for placing in presentations. 

In APhoto you can record a macro to set your required Blend Ranges

Then replay that macro in the Batch processing dialog of APhoto to appy it to all required images

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

29 minutes ago, thomaso said:

You can copy a selected object which has the desired blend range set, then select one or more other objects to apply this setting via menu "Paste Style". – Accordingly you can create a style in the Styles Panel with the wanted blend range curve and use this to assign it to future objects.

That gets tricky, though, as a Style encompasses many aspects of an object, including its Fill (or lack thereof), Stroke (or lack), etc. and so when you apply the Style you may well change other aspects besides the Blend Ranges.

-- 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

1 minute ago, walt.farrell said:

That gets tricky, though, as a Style encompasses many aspects of an object,

That is why I mentioned "in case the image layers don't have any style assigned" before I mentioned the method.

However, the description to this topic seems to talk about technical drawings without the purpose to style them with colour, while, even if, it seems they all would get styled the same – and, even if not: When the blend mode gets assigned as Style at first, then any further styling doesn't harm.

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

Link to comment
Share on other sites

1 minute ago, thomaso said:

That is why I mentioned "in case the image layers don't have any style assigned" before I mentioned the method.

Yes, but many things count as "style" including Stroke and Fill. Many objects have a Stroke or a Fill, but do not specifically have a Style assigned to them. And the OP's drawings, for example, are likely to use both Stroke and (in some areas) Fill. Thus, using Styles for this can be tricky.

-- 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

4 minutes ago, walt.farrell said:

Many objects have a Stroke or a Fill, but do not specifically have a Style assigned to them. And the OP's drawings, for example, are likely to use both Stroke and (in some areas) Fill.

I can't follow. The OP's resources are described as "greyscale image plans exported from a drafting program", which sounds to be pixel rather than vector. Accordingly, these images initially neither have nor need any fill or stroke being assigned in Affinity.

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

Link to comment
Share on other sites

This is correct, for this instance I am using raster images from the background, then exporting as PNG with transparent background. 
 

I could export DWG from my program (Revit) and import to Designer, however the dwg import puts each line as an individual object, which is not complexity I need for this use case since I don’t want to modify stroke weight or color. 
 

That said, always looking for better ways to improve my workflows and if I end up needing to change the strokes, using Designer seems to be the way to go. Especially since I’m V2 you can sort by later which makes dealing with individual objects less cumbersome. 

Link to comment
Share on other sites

Alternatively you might try PDF export from Revit if available. This can keep the file contents as vector with the options …

a. to place it in Affinity as resource,
b. rasterize the contents within Affinity in any image resolution,
c. or open the PDF in Affinity and edit its curves.

Depending on your needs and the export options from Revit it can be worth a try.

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

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.