How convert the bump texture to Normal map for blender?


I have tried the Texture Paint Layers and I want convert the bump mapping to normal map, I want know which is the way to make this propoerly because if I created the normal map only with Xnormal plugin I have problems in the seams.