Skip to content

Command based on an implementation of GIMP's Color to Alpha Algorithm.

Notifications You must be signed in to change notification settings

busynoggin/color-to-alpha-gimp-command

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

color2alpha input.jpg ouput.png 'sphere' 'linear' 18 193

color2alpha input_filename output_filename shape interpolation transparency_threshold opacity_threshold

input_filename

output_filename

shape=['sphere', 'cube']

interpolation=['linear', 'power', 'root', 'smooth', 'inverse-sin']

transparency_threshold=[0 to 255 if shape is 'cube' or if shape is 'sphere' 442 default 18]

opacity_threshold=[0 to 255 if shape is 'cube' or if shape is 'sphere' 442 default 193]

About

Command based on an implementation of GIMP's Color to Alpha Algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%