The intensity "landscape" of the scrambled X-rays has a multitude of random bright and dark spots called speckles. These speckles are here rendered as the height of a surface. A sample placed in the beam changes slightly the position, height and depth of the hills and valleys of this landscape. These changes are analyzed to form the images of the sample.