def full_from_unit_alpha_values(unit_alpha_values):
    """Return new alpha values converted to full values.

    This is the reverse of the unit_from_full_alpha_values()
    function, which means we convert floats in the unit
    interval to full alpha values, that is, integers in
    range(256), where 0 means fully transparent and 255
    means fully opaque.
    """
    ### return new list representing alpha values in their
    ### full form

    return [
        ## the inner lists represent the alpha values of
        ## each column of pixels, in their full form
        [
            ## the full format is obtained by simply multiplying
            ## the unit alpha values by the maximum value the
            ## full values can assume and rounding the result,
            ## which ultimately results in an integer in the
            ## range(256)
            round(unit_alpha_value * 255)
            for unit_alpha_value in unit_alpha_values_in_column
        ]
        ## the alpha values for each column are retrieved
        ## from the given unit alpha values list
        for unit_alpha_values_in_column in unit_alpha_values
    ]
Return new alpha values converted to full values.

    This is the reverse of the unit_from_full_alpha_values()
    function, which means we convert floats in the unit
    interval to full alpha values, that is, integers in
    range(256), where 0 means fully transparent and 255
    means fully opaque.
    
nodezator/alphamask/utils.py