Jump to content

Pre-Alpha Mask Plugin


Recommended Posts

Hello, experienced coders:

 

I am in need of your valuable assistance in developing a one-click plug-in.  My purpose in writing this plug in for a simple reason so I'll describe what I do in my steps prior to photomanipulations:

 

  1. Convert image to fully white (this is usually done by using Curve).
  2. Create a new empty layer, drag it down below the image, and backfill it with black.
  3. Merge the layer.
  4. Copy the merged layer.

So far what I have managed to acheive is have CodeLab run a simple script that convert all the RGB values to white.  What I want to do now is tell CodeLab to backfill transparency with solid black, and this is where I need your assistance.

 

The code is below.

 

Edited by TrevorOutlaw
Removed code since BoltBait had a plugin that did what I was seeking to achieve.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...