Method for applying a marking within a marking area on an object , in which - at least one light beam is emitted with light emitting means , - scanning means are moved to deflect the light beam line by line over the marking area , while the light emitting means is switched between being activated or deactivated according to the marking to be applied, wherein for each start of a line movement of the light beam over the object , - the scanning means is moved such that its deflection direction points at a line starting point outside the marking area and - the scanning means is accelerated such that its deflection direction is accelerated from the line starting point towards the marking area , wherein the light emitting means is deactivated while the deflection direction points somewhere outside the marking area , from raw image data, several image line vectors are derived, each image line vector being constituted of a string of first pixel values for which the light emitting means are activated and second pixel values for which the light emitting means are deactivated, the movement of the scanning means is determined via the lengths and number of the image line vectors, for controlling the scanning means to move its deflection direction not merely over the marking area but to start at the respective line starting point , a dummy vector is added to the image line vector, the dummy vector being constituted of only second pixel values characterized in that in the line by line movement of the deflection direction, directly neighboring lines have antiparallel movement directions, and for compensating a displacement between directly neighboring lines due to the acceleration of the deflection direction leading to a mark for the respective line being shifted towards its respective line starting point, every second line is displaced by a common adjustable amount. - at least one light beam is emitted with light emitting means , - scanning means are moved to deflect the light beam line by line over the marking area , while the light emitting means is switched between being activated or deactivated according to the marking to be applied, wherein for each start of a line movement of the light beam over the object , - the scanning means is moved such that its deflection direction points at a line starting point outside the marking area and - the scanning means is accelerated such that its deflection direction is accelerated from the line starting point towards the marking area , - the scanning means is moved such that its deflection direction points at a line starting point outside the marking area and - the scanning means is accelerated such that its deflection direction is accelerated from the line starting point towards the marking area , wherein the light emitting means is deactivated while the deflection direction points somewhere outside the marking area , from raw image data, several image line vectors are derived, each image line vector being constituted of a string of first pixel values for which the light emitting means are activated and second pixel values for which the light emitting means are deactivated, the movement of the scanning means is determined via the lengths and number of the image line vectors, for controlling the scanning means to move its deflection direction not merely over the marking area but to start at the respective line starting point , a dummy vector is added to the image line vector, the dummy vector being constituted of only second pixel values characterized in that in the line by line movement of the deflection direction, directly neighboring lines have antiparallel movement directions, and for compensating a displacement between directly neighboring lines due to the acceleration of the deflection direction leading to a mark for the respective line being shifted towards its respective line starting point, every second line is displaced by a common adjustable amount. <EOS>