This Specification Task will let you choose a specific color to convert to transparency.
The color to convert can be defined by its color name or its corresponding RGB or HEX values.
|Color||Used to designated which color to convert to transparency. Can be the name of the color or its RGB or HEX corresponding value.|
|Constant Name||The name of the constant used to report on the success of the specification task. If it is a success this will be used to store the path of the generated image.|
|Destination||The full file name and path of the image file to create, including its extension.|
|Overwrite||True to overwrite an existing image, False to keep the existing image.|
|Source||The full file name and path of the source image file to transform, including its extension|
|Title||Changes the Title (not the name) of the task.|
Using the image below as the source image:
This image has a gray background that we would like to convert to transparent.
Gray can be considered as different values:
To change the gray background to be transparent, the task properties will be as follows:
The result will be the image below: