A set of actions to take layer mask as an image, edit something, and then return it back to the layer mask
It's also a bonus.
■ Preparation
Register this material by pressing the Add button on the auto action Palette
Or you can D&D this material from the [material palette] to the [auto action Palette], and the throw and action set will be registered and available.
You can also use shortcut keys to perform frequently used actions.
The assignment is in file → shortcut key settings → setting area: "auto action"
About ■ Action
[Taking out a mask]... 1
Copy the layer mask as an image to the newly created layer
This image represents opacity in a black and white gray
[Back to layer mask]... 2
Revert to layer below layer mask
Used for layers made of (1) or (4)
(1) or (4) Start with (2) to finish, please use the pair of operation that
[Copy mask to layer below]... 3
Copy current layer layer mask to the layer below layer mask
[Layer for new mask]... 4
To create a new layer without layer mask
Run (2) on this layer layer mask
[Clear layer mask (whole)]... 5
Clears the layer mask to the entire hide state
selection is the entire area
[New fill in monochrome layer]... 6
Bonus
Will be discussed later
About ■ selection
selection basically ignores
We try not to change the selection around the action.
About ■ quick mask
use quick mask in action and saving selection
Do not perform these actions while editing the quick mask
About ■ selection errors
If the mask is black (0 total opacity), you may receive an "selection was not created" error
■ Want to reverse black and white
When the layer color is TURNED on, the black and white flip is displayed.
To reverse black and white at the data level, check all of the reverse gradient items that are disabled by default in the action to enable it.
Enable/disable (1), (2), (4) to be in the same state
■ ※ Attention!
Do not run layer folder
Not supported
What to do if you want to edit the ■ folder mask
You can move the mask to another layer on the Layer palette and use it.
Create a new raster layer and move the folder mask to that layer
Now that you can perform the action (1)
When you run (2) and put it back in the mask, move the mask back to the original folder.
No longer needed delete layer created and completed
■ Why is (1)-(2), (4)-(2) a pair?
The behavior is to hide the other layers when the mask is displayed.
This is the "switch view of other layers temporarily" behavior.
The icon of the eye of the layer is equivalent to holding down the ALT key and clicking
The other display status of layer will collapse if you do not perform this to be paired at the beginning and end
■ Bonus
(6) new fill in monochrome layer
create new fill Layer
Same as menu operation if there is a selection
If there is no selection, the mask will be blackness.
This action does not ignore selection
■ Update history
V 1.1
About (3). Fixed raster layer Bug
About (3). Fixed a problem that the mask could not be ejected correctly if not 100% opacity
(1) and (3). Fix to remove mask from locked layer
Rewrite description with ease-of-priority
Change the name of the material
Change thumbnail
レイヤーマスクを画像として取り出して、何か編集した後、再びレイヤーマスクに戻すという作業をするためのアクションのセットです
おまけも付いてます
■準備
[オートアクションパレット]の追加ボタンを押してこの素材を登録します
または[素材パレット]からこの素材を[オートアクションパレット]にD&Dで放り込むとアクションセットが登録されて利用できるようになります
よく使うアクションなどをショートカットキーを使って実行することもできます
割り当ては[ファイル]→[ショートカットキー設定]→設定領域:「オートアクション」にあります
■アクションについて
【マスクを取り出す】…(1)
レイヤーマスクを新しく作ったレイヤーに画像としてコピーします
この画像は白黒のグレースケールで不透明度を表しています
【レイヤーマスクに戻す】…(2)
下のレイヤーのレイヤーマスクに戻します
(1)か(4)で作ったレイヤーに対して使用します
(1)か(4)で開始して(2)で終了する、というペアの動作でお使いください
下のレイヤーのレイヤーマスクへ現在のレイヤーのレイヤーマスクをコピーします
【新規マスク用レイヤー】…(4)
レイヤーマスクがないレイヤーに新規で作成するためのもの
このレイヤーに(2)を実行してレイヤーマスクにします
【レイヤーマスクをクリア(全域)】…(5)
レイヤーマスクを全域非表示状態へクリアします
選択範囲があっても全域です
【新規べた塗りレイヤー】…(6)
おまけ
後述します
■選択範囲について
選択範囲は基本的に無視します
アクションの前後で選択範囲が変化しないようにしています
■クイックマスクについて
アクションの中でクイックマスクを使用して選択範囲を保存しています
クイックマスクの編集中にはこれらのアクションを実行しないで下さい
■選択範囲のエラーについて
マスクが真っ黒(全域不透明度0%)の場合、「選択範囲が作成されませんでした」というエラーが表示されることがあります
■白黒反転させたい
レイヤーカラーをONにすると白黒反転で表示されます
データレベルで白黒逆にするには、アクション内でデフォルトで無効になっている[階調の反転]項目の全てにチェックを入れて有効にしてください
(1)、(2)、(4)のどれもが同じ状態になるように有効/無効を切り替えてください
■※ご注意!!
レイヤーフォルダーには実行しないでください
対応していません
■フォルダーのマスクを編集したい場合の対処法
[レイヤーパレット]上でマスクだけ他のレイヤーに移動できるのでこれを利用します
ラスターレイヤーを新規で作成し、フォルダーのマスクをそのレイヤーに移動
これでアクションを実行できるので(1)を実行
(2)を実行してマスクに戻したら、そのマスクを元のフォルダーに移動して戻す
不要になった作成したレイヤーを削除して完了
■なぜ(1)-(2)、(4)-(2)がペアなの?
マスクを表示する際にほかのレイヤーを非表示にする、という動作が入っているからです
[ほかのレイヤーの表示を一時的に切り替え]という動作です
レイヤーの目のアイコンをAltキーを押しながらクリックするのに相当します
これを開始と終了でペアになるように実行しないと他のレイヤーの表示状態が崩れます
■おまけ
(6)新規べた塗りレイヤー
[べた塗りレイヤー]を新規作成します
選択範囲がある場合はメニューの操作と同じです
選択範囲がない場合、マスクはまっ黒になります
※このアクションだけ選択範囲を無視しません
■更新履歴
v1.1
(3)について。ラスターレイヤーでの不具合を修正
(3)について。不透明度100%でないとマスクを正しく取り出せなかった不具合を修正
(1)と(3)について。ロック操作されたレイヤーからでもマスクを取り出せるよう修正
説明をわかりやすさ優先で書き直し
素材名を変更
サムネイルを変更