Sign in to follow this  
Rider01

Alphalizer - Alpha Channel Magicks (2014-11-17)

Recommended Posts

I was playing around a bit in CodeLab when I got an idea for a plugin. Thus, Alphalizer was born.

 

This effect plugin changes the image's alpha channel based on each pixel's original colors using the selected method. It's highly customizable and easy to use. The different calculation methods yield different results, select the one that fits best for your work. You can find it under Effects > Object.

 

Here's a before-after:

 

post-138332-0-91895400-1416228603_thumb.

(Better quality)

 

The technicals (for those interested):

 

The plugin gets the new alpha value by converting the original color to black and white using the selected method. The calculated value is inverted (if set) and the original alpha will be used as a multiplier (if set). Then the value is re-scaled according to the min-max sliders before being applied to the image.

The image, by default, will be set to a uniform color, and the only difference between pixels will be the alpha channel. Selecting "Retain original" as the used color will result in only the alpha channel being modified.

 

Developed in CodeLab (Thanks, BoltBait!), refined in SharpDevelop, built in the command line (SD built version wasn't showing itself in the effects menu :P ).

 

Constructive criticism, virtual pat on the back, usage examples, suggestions and bug / typo reports are welcome  :) .

 

(And before anyone asks, yes, the initial release is actually v2.0, as the original wasn't fit for public showing.)

Alphalizer.zip

Edited by Rider01
  • Upvote 5

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this