-
1. Re: Writing to a layer's transparency channel
c.pfaffenbichler Feb 5, 2010 7:32 AM (in response to thebestcpu)I’m content to be told differently by someone more knowledgeable, but I think one cannot within the Document Object Model.
If I understand correctly the whole DOM-Scripting-setup does not actually offer distinctly different ways of manipulating objects in a file than are available to the user of Photoshop as is, but only a different way to control or trigger those functionalities.
-
2. Re: Writing to a layer's transparency channel
thebestcpu Feb 5, 2010 8:46 AM (in response to c.pfaffenbichler)Thanks c.pfaffenbichler for your thoughts. I have come to the same conclusion about what I can do through scripting.
I will settle for a workaround. The easiest looks like reading out the information in the Layer's Transparency Channel, using a plugin to set the transparency channel to full opaque and then "Apply" from a Layer Mask to write into that Transparency Channel. Since this Apply function just multiplies that opacities and the value of the Layer's Transparency Channel has been set back to 1 (100%) if effectively just writes in the Layer Mask.
Only semi-convoluted yet thought I would verify if there were another way through this forum. I will mark this thread as solved.
There are several plugins out there that do this. The one I used was from PhotoWiz and the packet of plugins you can download is called PhotoFreebies and the specific plugin filter is named Remove Transparency.
John Wheeler


