ImageEn, unit hyieutils

IEAlphaToOpacityD


Declaration

function IEAlphaToOpacityD(Alpha: integer): Double;


Description

Converts an alpha/transparency value (in range of 0 - 255) to an opacity value (0.0 - 1.0).
Opacity is generally referred to as percent (e.g. Alpha of 255 would return Opacity of 1.0, i.e. 100%).



See also: IEOpacityToAlphaD