MSFS normal maps, how are you making them from height maps?

If anyone is scratching their head and has no idea what I’m talking about when I say there’s two style normals maps, “red/green” and “purple”, here’s a topic with image examples of both.