  Absorption imaging with quasi-resonant laser light is a commonly used
technique to probe ultra-cold atomic gases in various geometries. Here we
investigate some non-trivial aspects of this method when it is applied to in
situ diagnosis of a quasi two-dimensional gas. Using Monte Carlo simulations we
study the modification of the absorption cross-section of a photon when it
undergoes multiple scattering in the gas. We determine the variations of the
optical density with various parameters, such as the detuning of the light from
the atomic resonance and the thickness of the gas. We compare our results to
the known three-dimensional result (Beer-Lambert law) and outline the specific
features of the two-dimensional case.
