This function allows to create frames around images or documents.
A frame consists of 3 parts:
If there is only an outer frame, the image will be clipped by the outer frame. The result may look like this:
If there is an inner frame, too, the result is a frame with a surface. The inner frame may be different to the outer frame.
The surface of a frame like this can be filled with any color. Furthermore a layer style (see chapter 7.8.40) can be assigned.
The frame can be create to lie completely inside of the source image or lie outside.
A frame with both inside and outside frame may look like this:
Additionally a shadow can be created. By using a shadow the image appears to be floating above the background.