Sign in to follow this  

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.

Share this post

Link to post
Share on other sites

I honestly had no idea this was what it was for.


In any case, I will consider my plugin idea unnecessary.  Thanks, BoltBait.  This thread can be closed.

Share this post

Link to post
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.

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.

Sign in to follow this