A measurement of the production processes of the recently discovered Higgs boson is performed in the two-photon final state using 4.5 fb(-1) of proton-proton collisions data at root s = 7 TeV and 20.3 fb(-1) at root s = 8 TeV collected by the ATLAS detector at the Large Hadron Collider. The number of observed Higgs boson decays to diphotons divided by the corresponding Standard Model prediction, called the signal strength, is found to be mu = 1.17 +/- 0.27 at the value of the Higgs boson mass measured by ATLAS, m(H) = 125.4 GeV. The analysis is optimized to measure the signal strengths for individual Higgs boson production processes at this value of m(H). They are found to be mu(ggF) = 1.32 +/- 0.38, mu(VBF) = 0.8 +/- 0.7, mu(WH) = 1.0 +/- 1.6, mu(ZH) = 0.1(-0.1)(+3.7), and mu t (t) over barH = 1.6(-1.8)(+2.7), for Higgs boson production through gluon fusion, vector-boson fusion, and in association with a W or Z boson or a top-quark pair, respectively. Compared with the previously published ATLAS analysis, the results reported here also benefit from a new energy calibration procedure for photons and the subsequent reduction of the systematic uncertainty on the diphoton mass resolution. No significant deviations from the predictions of the Standard Model are found.