  We describe a diffraction microscopy technique based on refractive optics to
study structural variations in crystals. The X-ray beam diffracted by a crystal
was magnified by beryllium parabolic refractive lenses on a 2D X-ray camera.
The microscopy setup was integrated into the 6-circle Huber diffractometer at
the ESRF beamline ID06. Our setup allowed us to visualize structural
imperfections with a resolution of approximately 1 micrometer. The
configuration, however, can easily be adapted for sub-micrometer resolution.
