How to remove all color from selected text (resulting in transparent text) perfectly?
I want an image with some text, such that the background color of the image is white, while the text should transparent.
The twist here is that the font I am using does not satisfy my needs, and I have to apply "transform" (using Ctrl+T) after I write using the "Horizontal Type Mask Tool" and to sort of spread the text horizontally (so that the letters become a bit less condensed).
What I tried:
- I created a new file with white background
- Wrote the text on it using the Horizontal Type Mask Tool
- Added a color to it (because without this when I try to apply the Transform, it complains that the selected area is empty) using the Paint Bucket tool
- Applied the Transform.
- The text was still selected. So pressing
Deldeleted everything from the selected text.
But when I deselected it, the result was very ugly. There is an ugly black border sort of a thing around the text.
I have also tried using the Background Eraser Tool but that doesn't do it perfectly either. So I conclude my approach for getting what I want was not good. So my question is that what is the best way to do this?
- Create a text layer with your text.
- Create a white-filled layer
- Command/Ctrl-click the text layer thumbnail in the Layers Panel
- Highlight the white layer and click the New Mask icon at the bottom of the Layers Panel.
- Invert the layer mask (
Image > Adjustments > Invert)
- Turn off visibility for the text layer.
You can then unlink the mask with its layer and freely transform the mask if needed.
(White looks grey due to the reduced color palette of the animation.)