Making a texture with alpha blending

Hi,
i want to make a texture with some parts fully opaque and some parts fully transparent. I make a rgba image buffer with suitable alpha values. But i couldnt get the correct image view.
What parameters is shoudl use in
glBlendFunction
glColor
glTextEnvi

can someone explain it ?
thanks…