Taiwan’s earthquake monitoring agency gave the magnitude as 7.2 while the U.S. Geological Survey put it at 7.4.