This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level. |
In the context of a script, it is often very useful to be able to convert from action images to masks and vice-versa. Masks are always the same size as the action image, which makes this work very well without requiring scaling or other non-exact procedures.
Since F/x maintains separate image and mask stacks as described on the previous two pages, the natural place for a script to do this is using those stacks. The following commands provide a powerful set of tools for tasks that utilize masks and images in multiple roles.
This pushes the current image as a mask onto the mask stack. White is 100% selected, black is not selected. Values in between black and white represent partially selected pixels.
See also:
This pushes the current mask as an image, to the image stack. 100% selected comes out as white, not selected comes out as black. Values in between black and white represent partially selected pixels.
See also:
This pulls the from the mask stack to the current image. 100% selected comes out as white, not selected comes out as black. Values in between black and white represent partially selected pixels.
See also:
This pulls the from the image stack to the mask. white comes out as 100% selected, black comes out as not selected. Values in between black and white represent partially selected pixels.
See also: