Diamond-based materials possess many unique properties, one of them being a broad-band visible photoluminescence due to a variety of color centers. However, a high material refractive index makes the extraction of photoluminescence (PL) from a diamond layer inefficient. In this paper, we show that by periodical nanopatterning of the film's surface into a form of two-dimensional photonic crystal, the extraction of PL can be strongly enhanced within the whole visible spectrum compared to the extraction of PL in a pristine or randomly nanopatterned film. On the basis of theoretical calculations, enhancement is shown to be due to the photonic crystal effect, including efficient coupling of an excitation laser into the diamond.