DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

GraphicTransparent- Changing the type of image transparency

Changes the type of image transparency that is useful when saving to an image format.

- GraphicTransparent(T[,C])

Parameters:

- (bool) T: Enables or disables transparency. The value can be True or False;

- (int) C: Color of the image to be used for transparency (optional).

Description:

Use GraphicTransparent to change the type of image transparency. This is useful when creating common images, such as .ICO .BMP .PNG icons, in which you want to activate the transparency effect of the background color. When you activate transparency, if you do not specify which background color to use for it, the pixel color at the bottom left is automatically used. If you specify a color, it will be used as the background color to be rendered transparent.