Creation of image structure.