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

Mask image to content of layer only - not below


Recommended Posts

I want to add a vignette to a frame, but not to any content shown behind the frame layer (i.e. to not affect the photo "in" the frame.  I'm sure it should be possible,  but I'm failing to spot the technique.

Simple example - I want the vignette to darken the red frame bits, but not the stock photo behind.

Suggestions welcome, please  Thanks!

 

FrameQuestion.afdesign

Link to comment
Share on other sites

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

Well, just drop it to the frame instead of the picture.

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

But this does not work as you are using a „Layer“.

suggest to simplify the design:

  1. select all 4 rectangles
  2. geometry->add
  3. move frame out of Layer
  4. nest vignette to layer with frame

Edited by NotMyFault
Added „not“ which was deleted by autocorrection.

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

It won‘t if you follow the steps exactly.

 

 

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

7 minutes ago, NotMyFault said:

But this does work as you are using a „Layer“.

suggest to simplify the design:

  1. select all 4 rectangles
  2. geometry->add
  3. move frame out of Layer
  4. nest vignette to layer with frame

 

Ah ha!   OK.  So that's the effect.  I'm just trying to work out why that works and how to apply it to my actual case (where the frame is more complex and I can't just add all the bits together.

Thanks!

Link to comment
Share on other sites

Groups and layers (and symbols) are great in principle, but have some nasty quirks when using blend mode „passthrough“, or using anything having partial transparency or adjustments and filters affecting alpha channel.

I can’t say if there are more implementation bugs or more „surprising by design“ quirks.

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

Yes - so it seems I'll have to fake it with a separate layer that I merge all my frame elements into a single curve, make that black and use the vignette inside that that,  layering that over the real frame layer. and tweaking the transparency...  Bit of a pain, since if I change the frame I'll have to regenerate the fake mask frame oject,  but at least it works!

Link to comment
Share on other sites

19 minutes ago, DuncanL said:

Yes - so it seems I'll have to fake it with a separate layer that I merge all my frame elements into a single curve, make that black and use the vignette inside that that,  layering that over the real frame layer. and tweaking the transparency...  Bit of a pain, since if I change the frame I'll have to regenerate the fake mask frame oject,  but at least it works!

You can use 2 rectangles, create a compound shape, subtract mode for the smaller one.

in some designs simply use a rectangular shape with big stroke width and no fill.

Instead of separate „mask“ simply use a ellipse gradient fill with suitable colors. There are endless ways to achieve the same visual result. Try to find one which suits you workflow best.

 

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

59 minutes ago, DuncanL said:

my actual case (where the frame is more complex and I can't just add all the bits together.

Use your partially transparent "vignette" layer as a mask on an Exposure Adjustment, and put the masked Exposure Adjustment as the topmost object inside the Layer (or Group) containing the pieces of frame. That will restrict the adjustment to just the content of the Layer (or Group).

FrameAnswer.afdesign

 

1592912328_FrameAnswerScreenshot.thumb.png.33a1a78e78bff43fdaf2c5a63d69f7ca.png

Link to comment
Share on other sites

14 minutes ago, ,,, said:

Use your partially transparent "vignette" layer as a mask on an Exposure Adjustment, and put the masked Exposure Adjustment as the topmost object inside the Layer (or Group) containing the pieces of frame. That will restrict the adjustment to just the content of the Layer (or Group).

FrameAnswer.afdesign

 

1592912328_FrameAnswerScreenshot.thumb.png.33a1a78e78bff43fdaf2c5a63d69f7ca.png

Genius!  That's what I wanted - works automatically with the frame content in a non-destructive way so I can change the content and it just reflects the change automaticcaly.

Thank you very much!  Not exactly an obvious solution,  but makes sense now I know

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.