In Adobe Photoshop CC
, what's a fast way to add individual default masks (Reveal All) to every layer in a document with a large layer count (say 100 layers)?
I need individual masks, not group masks.
I can manually ALT+drag
to duplicate a mask to other layers, or simply scroll through selected each layer and then clicking the mask button at the bottom of the Layers
pane, but I'm trying to create an automated process hence those are not desirable options.
Perhaps there's a script solution to add individual full reveal masks to all open layers?
Backstory
Per the workaround here to export en masse png-24
images of a common size to png-8
w/ partial transparency, I'm doing File
> Scripts
> Load Files Into Stack
, selecting all layers, right-clicking on the selection, and lastly choosing Quick Export as png-8
from the click options menu that comes up.
The only problem is that the Quick Export as png-8
saves a cropped copy, disregarding the canvas size. Going individually into Export As
will work if I manually change the canvas size, but selecting all layers and putting a common canvas size centers the images...
But I've found a way to get the right click Quick Export...
to respect the canvas position & not crop -- add a 100% fill mask (so all white). This has no affect on the image other than to preserve the transparent bounding box from cropping upon Quick Export...
/ Export As
.
However, adding individual masks negates individual time savings. Hence I need to find a way to add them to each layer quickly (group mask doesn't work).