Method for controlling a light scanner in a headlamp for vehicles, wherein the laser beam of at least one modulated laser light source is directed by means of the light scanner in a scanning manner onto a light conversion means in order to generate a luminous image thereon which is projected onto the roadway as a luminous image via an imaging system, and a micromirror of the light scanner is pivoted in at least one coordinate direction in accordance with defined control characteristics, wherein the desired light image is divided into a pixel set with n rows and/or m columns the horizontal and/or the vertical control characteristic for the micromirror is adapted to at least one selected row and/or column with respect to the required optical power of the pixels, the selected row and/or column being the one in which the maximum illumination intensity is required in sum over its n pixels, and the adapted horizontal and/or the vertical control characteristic is used to drive the micromirror, characterized in that the desired illuminated image is divided into a pixel set with n rows and m columns, in a first step, for optimizing the control characteristics according to the desired light distribution, the required illuminance E ij is determined for each pixel of the pixel set, in a second step that column (r)/row is selected in which in sum over its n pixels the maximum illuminance, namely the sum illuminance of this column c2/row is required, in a third step, starting from this total illuminance, it is calculated which time unit per illuminance t lx is available on average in this column /row, namely t slx = T S / E c2 total, where TS is the half-period duration of the column period/row period and Ec2 total is the total of all predefined illuminance values per pixel required in this half-period duration of the column period, in a fourth step, the illuminances (E c2n) of the column /row which are present in a row are used to create a new row, the illuminance E' c2n of each member of the new row resulting in E' c 2 n = ∑ j = 1 n E c 2 j, in a fifth step, each member of the new series is multiplied by the unit time per illuminance t lx to obtain a new time series which is determined as a new optimized control characteristic by the deflection angle αv' = α Vmax /n available for each pixel, and each member of the new time series is multiplied by the deflection angle α' = α max /n available for each pixel, thereby obtaining a deflection and thus an optimized control characteristic for each pixel of the column/row, and in a sixth step, this control characteristic is used to control the micromirror for each column/row. the desired light image is divided into a pixel set with n rows and/or m columns the horizontal and/or the vertical control characteristic for the micromirror is adapted to at least one selected row and/or column with respect to the required optical power of the pixels, the selected row and/or column being the one in which the maximum illumination intensity is required in sum over its n pixels, and the adapted horizontal and/or the vertical control characteristic is used to drive the micromirror, characterized in that the desired illuminated image is divided into a pixel set with n rows and m columns, in a first step, for optimizing the control characteristics according to the desired light distribution, the required illuminance E ij is determined for each pixel of the pixel set, in a second step that column (r)/row is selected in which in sum over its n pixels the maximum illuminance, namely the sum illuminance of this column c2/row is required, in a third step, starting from this total illuminance, it is calculated which time unit per illuminance t lx is available on average in this column /row, namely t slx = T S / E c2 total, where TS is the half-period duration of the column period/row period and Ec2 total is the total of all predefined illuminance values per pixel required in this half-period duration of the column period, in a fourth step, the illuminances (E c2n) of the column /row which are present in a row are used to create a new row, the illuminance E' c2n of each member of the new row resulting in E' c 2 n = ∑ j = 1 n E c 2 j, in a fifth step, each member of the new series is multiplied by the unit time per illuminance t lx to obtain a new time series which is determined as a new optimized control characteristic by the deflection angle αv' = α Vmax /n available for each pixel, and each member of the new time series is multiplied by the deflection angle α' = α max /n available for each pixel, thereby obtaining a deflection and thus an optimized control characteristic for each pixel of the column/row, and in a sixth step, this control characteristic is used to control the micromirror for each column/row.