We present a system that exceeds the Rayleigh limit of resolution, by placing two fixed gratings in predetermined positions. Lukosz suggested a setup that managed to exceed the Rayleigh limit of resolution [J. Opt. Soc. Am. 56, 1463 (1966); 57, 932 (1967)]. However, Lukosz's technique had some drawbacks that the new suggested system attempts to resolve. Similar to Lukosz's technique, the proposed system works without any moving elements and with no time-or wavelength-restricting conditions. It is suitable for coherent or incoherent two-dimensional imaging. However, the new system contains some important modifications. Although the system uses only two gratings, it is capable of producing superresolution without using an additional imaging lens at the output plane. The generalized Damman gratings allow for obtaining undistorted spectral restoration of information. To achieve superresolution, the input object is duplicated. The trade-off for higher resolution is a smaller field of view. Experimental results validate the theoretical analysis.