Copy link to clipboard
Copied
Hi.. I took a screenshot of a portion of a spreadsheet (without the grid lines)... black text (antialiased) with white background. I thought I could somehow duplicate this image layer and invert the duplicate (white text on black background) and use that as a transparency mask so a background texture layer could be seen through in the white areas..
... but I could t figure out how to create the mask/transparencey... I ended up using some other technique.. but want to understand if/how my original idea may be done.
Thx in advance...
Found procedure here.
Select the black text on white background layer.
Click the new mask button in Layers panel (rectangle w/ circle in it.
Select the white layer mask in the black text on white background layer.
In the menu, select Image > Apply Image...
Click OK
Done.
Copy link to clipboard
Copied
You could just use the white on black version in a layer mask added to the original black on white image. Or Color Range, or Blend If sliders etc. Edge artifacts may be an issue though. However, for pure white or black backgrounds, another option can be found here:
Copy link to clipboard
Copied
"You could just use the white on black version in a layer mask added to the original black on white image. "
Yes, this is my intent... my question is how?
Copy link to clipboard
Copied
Invert the original or the version pasted into the mask channel. Do you need a step-by-step?
Copy link to clipboard
Copied
If you have simpler steps than what I found below.. sure!
Copy link to clipboard
Copied
Found procedure here.
Select the black text on white background layer.
Click the new mask button in Layers panel (rectangle w/ circle in it.
Select the white layer mask in the black text on white background layer.
In the menu, select Image > Apply Image...
Click OK
Done.
Copy link to clipboard
Copied
so a background texture layer could be seen through in the white areas..
By @DoYouLikeHam
If the goal is just to drop out the white so it becomes transparent, any time you want to remove the darkest or lightest tones the fastest way might be to use the Blend If sliders. Double-click the layer (a shortcut for the command Layer > Layer Style > Blending Options), and for the Current Layer gradient, drag the white end to the left. This restricts the layer’s tonal range that’s blended with layers behind it, in this case excluding the lightest tones which become transparent.
In the demo below you also see me split the white triangle. The point of that is to feather the transition, and that’s done by Option-dragging either half of the triangle. Feathering might not be necessary for this example, but it can make the effect more realistic when compositing photographic layers.
Copy link to clipboard
Copied
Thx for the suggestion, @Conrad_C --- but it seems that the Layer Mask technique produces cleaner results.
(BTW.. how did you embed that video? is it an animated GIF?)
Copy link to clipboard
Copied
Yes, it’s an animated GIF. I use them here only if I can keep the file size down to under a MB or two.
The problem you’re showing is exactly why the Blend If slider can be split for feathering. In the demo below, as I adjust the split triangle, it’s possible to eliminate the fringe of the anti-aliased text. But you should use the method that works faster for you, if you find an inverted mask simpler and easier than you can of course stick with that. We’ve got a lot of options in Photoshop.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now