` `
To add an image, click the Add image icon and drag a rectangle onto the Composer canvas with the left mouse button. You can then position and customize its appearance in the image Item Properties panel.
The image Item Properties tab provides the following functionalities (see figure_composer_image):
You first have to select the image you want to display. There are several ways to set the image source in the Main properties area.
With the Resize mode option, you can set how the image is displayed when the frame is changed, or choose to resize the frame of the image item so it matches the original size of the image.
You can select one of the following modes:
Selected resize mode can disable the item options ‘Placement’ and ‘Image rotation’. The Image rotation is active for the resize mode ‘Zoom’ and ‘Clip’.
With Placement you can select the position of the image inside its frame. The Search directories area allows you to add and remove directories with images in SVG format to the picture database. A preview of the pictures found in the selected directories is shown in a pane and can be used to select and set the image source.
It is possible to change SVG fill/outline color and outline width when using parameterized SVG files such as those included with QGIS. If you add a SVG file you should add the following tags in order to add support for transparency:
You can read this blog post to see an example.
Images can be rotated with the Image rotation field. Activating the Sync with map checkbox synchronizes the rotation of the image (i.e., a rotated north arrow) with the rotation applied to the selected map item.
It is also possible to select a north arrow directly. If you first select a north arrow image from Search directories and then use the browse button of the field Image source, you can now select one of the north arrow from the list as displayed in figure_composer_image_north.
Note
Beaucoup de flèches Nord n’ont pas un ‘N’ ajouté à la flèche Nord, cela est fait exprès pour les langues qui n’utilisent pas un ‘N’ pour le Nord, de sorte qu’elles puissent utiliser une autre lettre.