def GetParameter(content, parameterName):
    """
    Get one parameter from the header file

    Arguments:
    content         -- content of the file
    parameterName   -- name of the parameter. Parameters available:
                    --  bands, lines, samples, framerate

    Returns:
    param           -- current value of the parameter
    """
    expression = parameterName + " ="
    index = content.find(parameterName) + len(expression) + 1
    param = content[index: content.find("\n", index)]
    param = int(param)

    return param