SEPT. 29, 2024

Replacing whiteness with transparency

“I want to replace the whiteness in pixels with transparency, basically for lighter pixels to be made proportionally as transparent.”

OK, no problem! Open up Photoshop.

Example

Start with your flattened image

1. Place embedded > import image

TIP! Remove background (Help > Photoshop Help > Quick Actions) before moving on. This helps minimize "dust" that may appear later. It doesn't work perfectly for every image though, so be mindful!

Example

Add Saturation/Hue or Threshold adjustment layer

2. Layer > New Adjustment Layer > Hue/Saturation > turn down Saturation until image has no color

OR

3. Layer > New Adjustment Layer > Threshold > will result in 100% black or 100% white results

Example

Add Invert adjustment layer

4. Layer > New Adjustment Layer > Invert

Example

Add Curves adjustment layer

5. Layer > New Adjustment Layer > Curves > tweak Curves until everything you’d like to be solid/opaque is white, and everything you want fully transparent is black

Example

Select image then copy the result

6. CTRL + A (select entire image) and CTRL + SHIFT + C (copy the combined grayscale result)

Example

Create a layer mask on original layer

7. Layer > Layer Mask > Reveal All

Example

Enter direct edit mode

8. ALT + Click in the layer mask icon

Example

Paste the black and white image

9. CTRL + SHIFT + V ("paste in place")

Exit layer mask direct edit

10. Click original layer

Example

Finish!

11. Hide all adjustment layers (unless you used Threshold layer, keep Threshold layer visible)


(I originally learned the trick from this video by Uni Photoshop Skills! Check them out, the channel has a lot of useful photoshop tutorials.)


✿ Let’s Chat! ✿

Any questions or thoughts? Feel free to share your comments below! ٩(ˊᗜˋ*)و ₊˚⊹♡