The invention relates to an apparatus and a method for reading an optical
code. The apparatus having a casing with a reading window; the casing
having an illuminator acting through the reading window on an optical
code to be read, a detector responsive to light scattered from the
illuminated optical code into the casing through the reading window, and
an objective lens interposed between the reading window and the detector,
in a position to pick up the light scattered from the illuminated optical
code and project this light onto the detector. The detector having a
plurality of light-sensitive elements effective to convert the light to
electric signals representing the light image. The apparatus is
characterized in that the illuminator has a first array of light sources
active in a first illumination configuration, and at least a second array
of light sources active in at least a second illumination configuration
different from the first one.