Method of MR imaging of at least a portion of a body of a patient positioned in an examination volume of a MR device, the method comprising the steps of: - subjecting the portion of the body to a calibration sequence comprising RF pulses and switched magnetic field gradients controlled in such a manner that a calibration signal data set is acquired by means of a multi-point Dixon technique at a first image resolution; - deriving calibration parameters from the calibration signal data set; - controlling the MR device according to the derived calibration parameters; - subjecting the portion of the body to an imaging sequence comprising RF pulses and switched magnetic field gradients controlled in such a manner that a diagnostic signal data set is acquired at a second image resolution which is higher than the first image resolution; and - reconstructing a diagnostic MR image from the diagnostic signal data set, - wherein shim settings are derived as calibration parameters from the calibration signal data set and wherein the currents through shimming coils of the MR device are controlled according to the derived shim settings and further comprising the steps of: - reconstructing images comprising at least one water image, at least one fat image and a map of the main magnetic field B0 at the first image resolution from the calibration signal data set; - identifying a water region and a fat region on the basis of the at least one water image and the at least one fat image; and - determining shim settings that maximize the B0 homogeneity in the water region and / or in the fat region, by optimizing a cost function depending on the B0 deviation within the water region and the fat region by means of a weighting factor for differently weighting the water region and the fat region in the cost function and using the reconstructed B0 map. - subjecting the portion of the body to a calibration sequence comprising RF pulses and switched magnetic field gradients controlled in such a manner that a calibration signal data set is acquired by means of a multi-point Dixon technique at a first image resolution; - deriving calibration parameters from the calibration signal data set; - controlling the MR device according to the derived calibration parameters; - subjecting the portion of the body to an imaging sequence comprising RF pulses and switched magnetic field gradients controlled in such a manner that a diagnostic signal data set is acquired at a second image resolution which is higher than the first image resolution; and - reconstructing a diagnostic MR image from the diagnostic signal data set, - wherein shim settings are derived as calibration parameters from the calibration signal data set and wherein the currents through shimming coils of the MR device are controlled according to the derived shim settings and further comprising the steps of: - reconstructing images comprising at least one water image, at least one fat image and a map of the main magnetic field B0 at the first image resolution from the calibration signal data set; - identifying a water region and a fat region on the basis of the at least one water image and the at least one fat image; and - determining shim settings that maximize the B0 homogeneity in the water region and / or in the fat region, by optimizing a cost function depending on the B0 deviation within the water region and the fat region by means of a weighting factor for differently weighting the water region and the fat region in the cost function and using the reconstructed B0 map. - reconstructing images comprising at least one water image, at least one fat image and a map of the main magnetic field B0 at the first image resolution from the calibration signal data set; - identifying a water region and a fat region on the basis of the at least one water image and the at least one fat image; and - determining shim settings that maximize the B0 homogeneity in the water region and / or in the fat region, by optimizing a cost function depending on the B0 deviation within the water region and the fat region by means of a weighting factor for differently weighting the water region and the fat region in the cost function and using the reconstructed B0 map.