Jump to content

Recommended Posts

I'm currently puzzling over the simplest way to convert a mask to a pixel layer (and whether this can be made into a macro).

Currently I'm at:

  1. Release mask if it is attached to any layer, or drag to top level of layers
  2. Invert mask
  3. Put black pixel layer below mask
  4. Select mask layer
  5. Merge down
  6. Put white pixel layer below this layer
  7. Select merged layer above white layer
  8. Merge down

Any improvements?

The attached macro does steps 2 to 8, but I can't find a way to include the release into a macro. Still, it seems usable -- you just need to do step 1 by hand. You may also need to ensure nothing is selected.

Dave's Mask to Pixel Layer.afmacro


Dave Straker

Cameras: Sony A7R2, RX100V

Computers: Win10: Chillblast Photo with i7-3770 + 16Gb RAM + Philips 40in 4K; Surface Pro 4 i5

Favourite word: Aha. For me and for others.

Share this post


Link to post
Share on other sites

Oh yes. That's a bit quicker. :)

Thanks, MEB.

(still, it was fun tinkering)


Dave Straker

Cameras: Sony A7R2, RX100V

Computers: Win10: Chillblast Photo with i7-3770 + 16Gb RAM + Philips 40in 4K; Surface Pro 4 i5

Favourite word: Aha. For me and for others.

Share this post


Link to post
Share on other sites
On 9/21/2017 at 5:55 PM, MEB said:

Hi dmstraker,

Go to the Channels panel, right-click the respective mask channel and select Create Greyscale Layer.

Hi MEB

I am using 1.6.7.  Cannot get similar command from channel panel. What went wrong?

grs
Nikolai

Screen Shot 2018-07-02 at 14.54.13.png

Share this post


Link to post
Share on other sites

Hi @nikolai.ylirotu

 

You have the channels hidden and no layer selected. Select a layer first.

Make the channels visible by clicking on the rounded arrow (circled).

Right click on a channel.

greyscale.png.2b7e1006ecf55021b46755943d0905fb.png

If you want to do it from a mask, obviously you need to create one first.


Windows PCs. Photo and Designer, latest non-beta versions.

Share this post


Link to post
Share on other sites

To add slightly to what @toltec said, only pixel layers have accessible channels, so if for example you select an "(Image)" layer, you will not get the second set of channels. If the pixel layer has been named, instead of "Pixel Red" & so on, in the channels list "Pixel" will be replaced by that name. Often, this will be "Background," but that has no special significance -- it is reference to the layer name, not its position in the layer stack.


Affinity Photo 1.7.1 & Affinity Designer 1.7.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.0.135 & Affinity Designer 1.7.0.9 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×