It is presented a technique for enhancing the resolution of a 2D detector by meaning of multiple acquisitions and subsequent software processing of the acquired images, without modifying the optical configuration of the instrument nor the characteristics of the detector. The results of the application of the technique and the numerical algorithm are presented and discussed in terms of potentialities and limitations due to the intrinsic spectral broadening of the signals and to other sources of error, as uncertainty in the sub-pixel displacements or variations in intensity of the source. To check the reliability of the theoretical analysis, various software simulations have been performed, and one of these is presented in detail. Finally, some experimental results are presented, using a photon- counting multianode microchannel plate array detector system in the near ultraviolet region, with pixel size of 25 micrometers 2. A toroidal mirror focuses on the detector the image of a target, mounted on two micrometric translators, which allow the 2D displacements. Images of two fine wire mesh grids are presented, with period respectively 100 micrometers and 50 micrometers , and wire thickness of 13 micrometers . The reconstructed images are good, showing the asymmetrical profiles of the grids and a very low distortion.