Is convert used to mean the same thing in the next two sentences?

Convert lead into gold.

He converted his garden into a tennis court.
the same meaning