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

Fading transparency from top to bottom, how?


Recommended Posts

I have an image I want to use as part of a more complex composition.

I want to select it all, with the top of the image 100% selected, and the bottom 0% selected, so it will fade from top to bottom when I put it over another element.

How can I do this please?

Thanks, Nick

Link to comment
Share on other sites

Add a mask to the top image and put a white to black gradient on the mask, so that the top image fades to the bottom image.

Acer XC-895 : Core i5-10400 Hexa-core 2.90 GHz :  32GB RAM : Intel UHD Graphics 630 : Windows 10 Home
Affinity Publisher 2 : Affinity Photo 2 : Affinity Designer 2 : (latest release versions) on desktop and iPad

Link to comment
Share on other sites

22 minutes ago, Starbase1 said:

How can I do this please?

Transparency Tool.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

28 minutes ago, Starbase1 said:

with the top of the image 100% selected, and the bottom 0% selected, so it will fade from top to bottom when I put it over another element.

Do you mean somehow like this?

zeus1.jpg.a722541e77c12a7a0079b264a1b362d6.jpg    zeus2.jpg.e473b84c2057d81551de3db716852163.jpg

☛ 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

Link to comment
Share on other sites

2 hours ago, Pšenda said:

Transparency Tool.

Only in Designer and doesn't work on pixel images!

EDIT: Sorry, I should have said "pixel layers"! 😁

Acer XC-895 : Core i5-10400 Hexa-core 2.90 GHz :  32GB RAM : Intel UHD Graphics 630 : Windows 10 Home
Affinity Publisher 2 : Affinity Photo 2 : Affinity Designer 2 : (latest release versions) on desktop and iPad

Link to comment
Share on other sites

52 minutes ago, PaulEC said:

and doesn't work on pixel images!

Interesting; I never knew that.
Just checked (on Windows 10) and I find that you are correct; the Transparency Tool can be applied to Image layers but with a Pixel layer it cannot be applied (the layer can be selected but I can’t use that tool on it).
Seems odd.
Do you know if that’s expected behaviour or not?

Link to comment
Share on other sites

55 minutes ago, PaulEC said:

Only in Designer and doesn't work on pixel images!

Designer - yes. The application was not specified in any way, and possibly it is not a problem to use Edit in ...
Pixel images - Place. OP talk about "I have an image", not about the Pixel layer. And Image layer is the "pixel images".

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

6 minutes ago, GarryP said:

Do you know if that’s expected behaviour or not?

Quote

Transparency Tool

The Transparency Tool allows you to apply and edit transparency gradients to vector and text objects.

☛ 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

Link to comment
Share on other sites

8 minutes ago, GarryP said:

I’m not sure what you mean by that; is it an instruction, or something else – can you explain what you mean?

Menu File, command Place (or Place Image Tool), select "pixel image", place image as Image layer, apply transparency via Transparency Tool.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

25 minutes ago, Pšenda said:

OP talk about "I have an image", not about the Pixel layer.

That is true! Although I'm not sure that everyone always sticks to the Affinity differentiation between image layers and pixel layers. It's quite common to refer to any old picture as an "image": I wouldn't automatically assume that anyone who mentions an "Image" specifically means an "image layer", in the way it is used in Affinity apps!

Acer XC-895 : Core i5-10400 Hexa-core 2.90 GHz :  32GB RAM : Intel UHD Graphics 630 : Windows 10 Home
Affinity Publisher 2 : Affinity Photo 2 : Affinity Designer 2 : (latest release versions) on desktop and iPad

Link to comment
Share on other sites

v_kyr: It can also apply a transparency to Image layers. Does this mean that an Image layer is a “vector object” (because I don’t think it could be classed as a “text object”)?

Pšenda: The OP said that they have an “image” but they didn’t specify if they had an “Image layer” or a “Pixel layer”. When you use menu “File → Place” you are creating an Image Layer (which contains pixels) – which can have transparency applied – not a Pixel Layer (which also contains pixels) – which cannot have a transparency applied. If the Transparency Tool cannot be applied to Pixel layers then we need to be sure what type of “image” we have before we can say whether the Transparency Tool can be applied.

Link to comment
Share on other sites

7 minutes ago, GarryP said:

Does this mean that an Image layer is a “vector object”

It has other aspects of a vector object, such as setting its Fill directly.

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

3 minutes ago, GarryP said:

The OP said that they have an “image” but they didn’t specify if they had an “Image layer” or a “Pixel layer”.

Yes, and therefore we cannot automatically assume that the Transparency tool "cannot be used". I assume that the OP has an "image file" - it uses Place to insert it into the document, and uses the Transparency Tool to adjust its transparency to its needs. Is there a problem with that?

 

6 minutes ago, GarryP said:

v_kyr: It can also apply a transparency to Image layers. Does this mean that an Image layer is a “vector object” (because I don’t think it could be classed as a “text object”)?

In my Help (from v_kyr link) the wording is a little different - just for anything that is an object.

image.png.51b5f3c184cf214cf536e82860aafc8f.png

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

7 minutes ago, walt.farrell said:

It has other aspects of a vector object, such as setting its Fill directly.

Yeah, I never though about that.
So an Image layer is a vector object which happens to contain some pixel-based information.

Link to comment
Share on other sites

12 minutes ago, GarryP said:

Does this mean that an Image layer is a “vector object” (because I don’t think it could be classed as a “text object”)?

Yes. A mental model is a rectangle shape, with a bitmap fill. And in contrast to adjustment / filter layers, it does not have an inherent mask.

it becomes really complex wrt color handling and color fill (dont start with layer fx).

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

I think some of us may be (unnecessarily) at cross-purposes, with the discussion getting stretched in different directions and some people getting some ‘wires-crossed’ somewhere along the way, while we all generally agree on the same things.

May I suggest that we simply pause the discussion and wait for the OP to reply, telling us:
A. Which application they are using.
B. What sort of layer they have.
Once we are more-fully aware of the requirements we can advise better.

Link to comment
Share on other sites

Just now, GarryP said:

object which happens to contain some pixel-based information.

No. It has a fill of type bitmap. It does not contain pixel information.

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 minutes ago, NotMyFault said:

No. It has a fill of type bitmap.

I’ve just used menu “File → Place”, selected a JPG file, and dragged a rectangle on the document to place a new Image layer.
I then, with that layer selected, went to the Fill Tool and the Fill Type is “None”, not “Bitmap”.

As I said a little earlier, I think this discussion is starting to get a bit ‘out of hand’.
Can we just wait for the OP to get back to us?

Link to comment
Share on other sites

5 minutes ago, GarryP said:

I’ve just used menu “File → Place”, selected a JPG file, and dragged a rectangle on the document to place a new Image layer.
I then, with that layer selected, went to the Fill Tool and the Fill Type is “None”, not “Bitmap”.

As I said a little earlier, I think this discussion is starting to get a bit ‘out of hand’.
Can we just wait for the OP to get back to us?

Now when it gets interesting you want to calm down,

Another fact: use “convert to curves” on a placed image,

Use node tool. Drag all 4 edge nodes outside from original position. The image fill gets extended. A pixel layer / non-fill content cannot be auto-extended (testet on iPad).

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

23 minutes ago, PaulEC said:

That is true! Although I'm not sure that everyone always sticks to the Affinity differentiation between image layers and pixel layers. It's quite common to refer to any old picture as an "image": I wouldn't automatically assume that anyone who mentions an "Image" specifically means an "image layer", in way it is used in Affinity Photo!

Yes, everyone should call it what they can. But OP writes "I have an image I want to use as part of a more complex composition." From this I deduce that it is a composition of several images and their "complex composition", which adjusts their position, size, inclination, blending and fading (about this is the question), and more. In this case, it is always better to work with images as objects, ie Image layer, not with an image as pixels, ie Pixel layer.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

6 minutes ago, GarryP said:

I then, with that layer selected, went to the Fill Tool and the Fill Type is “None”, not “Bitmap”.

Observation is correct. When i say “mental model”, it is kind of inherent fill which behaves like a rectangle with fill, but you can add another explicit fill on top (like nested objects).

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

1 hour ago, GarryP said:

the Transparency Tool can be applied to Image layers but with a Pixel layer it cannot be applied (the layer can be selected but I can’t use that tool on it).

Correct, but there is a workaround:

The transparency tool simply adds gradient on alpha channel to a vector object. You can create the same manually using a rectangle shape with gradient on alpha (and save as asset), and apply this rectangle nested to masking position to any layer / object.

Edited by NotMyFault
Edited for clarity that you need an rectangular shape helper object

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

41 minutes ago, GarryP said:

v_kyr: It can also apply a transparency to Image layers. Does this mean that an Image layer is a “vector object” (because I don’t think it could be classed as a “text object”)?

I think an image layer is treated like a specific container/view (probably a vector a rect) where the transparency seems then can be applied too. The english online help instead shortly just talks about vectors and text here for the trancparency tool. - I believe @NotMyFault is right here and that the transparency tool under the hood just creates a vector shape with a gradient on alpha channel.

☛ 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

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.