|
|
|
|
|
dModifyOpacity (Function) In french: dModifieOpacité Modifies the opacity of an image (which means the alpha channel of the image). MyImage is Image = "c:\test.png" // Reduces the opacity by 50% dModifyOpacity(MyImage, 50) dSaveImagePNG(MyImage, "c:\test2.png")
Syntax
dModifyOpacity(<Image> , <Factor>)
<Image>: Image variable Name of the Image variable to be used. <Factor>: Real Factor for modifying the opacity, included between 0.0 and 100.0. This factor will be applied to the alpha channel of the image. Remarks This function can only be used with the images containing an alpha channel (32 bpp).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|