Jump to content

How to make a transparent moon?


Recommended Posts

Hello,

How can I make take an image of the moon and make the background (including where the sky shows through the craters) transparent? I feel like I'm missing something obvious...

So my steps have been to duplicate the image, apply a layer adjustment to make it greyscale and then apply a threshold layer adjustment to limit to black and white with the moon being white and the "sky" being black - this is my mask. I've tried numerous ways of applying this mask to the original image (eg "mask to below", manually adding a mask, etc), but none actually perform the mask and the image remains unchanged. Please help!

 

Moon.afphoto

Link to comment
Share on other sites

Hi @mistertaylor,
welcome to the Affinity Forums!

Layers of type "Image" don't work this way as mask (are rather just a rectangle). To use your prepared setup you can choose via right-click "Rasterize to Mask" (+ then move / nest the layer as wanted).

mask1a.thumb.jpg.992bffbb672cce1e7bd8565ec5e8fd3e.jpg

mask1b.jpg.783ba5eb398be7f4bbc36482f96afb54.jpg

Alternatively you could select directly the black (e.g. with Flood Select Tool) + invert the selection + click the "Mask" button in the Layers panel.

mask2a.jpg.7014610e388cc57d358cf1e9ebc9b687.jpg

mask2b.jpg.d371941350d20f99c910bf1f51f7ae69.jpg

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

Link to comment
Share on other sites

Well, there are several (many) different ways possible to accomplish this, one of them would be to ...

  • Rasterize first the image  (so it get's a pixel layer)
  • Select -> Tonal Range -> Select Shadows and/or Select Midtones and then delete the selection (black tonal areas are deleted and will get complete transparent)
  • Making also a selective color adjustment after the black color and giving it -100%
  • ...
  • Further ...
  • ... playing with the layers transparency setting and blend modes if wanted ...
  • ... etc. etc.

moon.jpg.e48e67e19a9a283a2f8868d5f1cc6f19.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

18 minutes ago, Return said:

Infinite possibilities when changing layers in the stack with blendmodes and blendranges.
Just play.

I think the missing point in this play is the masking of the black background. Note, the two adjustments in the OP's file were apparently created to affect the masking area only, not the entire / visible moon.

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

Link to comment
Share on other sites

2 hours ago, mistertaylor said:

Is there a way to keep the adjustment layers and still have the mask? Rasterising them merges the layers and makes them non-editable.

I am not sure if this simplified workaround works for your needs as wanted. Instead of a Mask layer it uses blend mode "Erase" for the grouped adjustment (and thus doesn't need the B&W adjustment) + blend range curves for both the erasing group and the threshold layer.

Moon_erase.afpub

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.