Draw Guide 26.2

Chapter 6,
Editing Images

Copyright

This document is Copyright © 2026 by the LibreOffice Documentation Team. Contributors are listed below. This document may be distributed and/or modified under the terms of either the GNU General Public License (https://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), version 4.0 or later. All trademarks within this guide belong to their legitimate owners.

Contributors

Contributors for this edition:

Peter Schofield

Contributors for previous editions:

Claire Wood, Elzett Kotze, Jean Hollis Weber, John A Smith, John Cleland, Martin Fox, Peter Schofield, Regina Henschel.

Feedback

Please direct any comments or suggestions about this document to the Documentation Team Forum at https://community.documentfoundation.org/c/documentation/loguides/ (registration is required) or send an email to: loguides@community.documentfoundation.org.

Everything sent to a forum, including email addresses and any other personal information that is written in the message, is publicly archived and cannot be deleted. Emails sent to the forum are moderated.

Publication date and software version

Published April 2026. Based on LibreOffice 26.2.
Other versions of LibreOffice may differ in appearance and functionality.

Introduction

Previous chapters in the Draw Guide provide information on vector graphics and the common types of vector graphics in use are as follows:

SVG (Scalable Vector Graphics)

An Extensible Markup Language (XML) based vector image format for two-dimensional graphics with support for interactivity and animation.

EPS (Encapsulated PostScript)

A PostScript document format usable as a graphics file format. EPS files are self contained, PostScript documents that describe an image or drawing and can be placed within another PostScript document.

AI (Adobe Illustrator)

A proprietary file format developed by Adobe Systems for representing single-page vector-based drawings in either the EPS or PDF formats.

However, Draw has several functions for handling raster graphics or bitmaps, for example photographs and scanned pictures. This includes import, export, and conversion from one graphic format to another graphic format. Draw can open the majority of graphic file formats using capabilities similar to raster graphics programs like Gimp or Adobe Photoshop. Raster graphics are generally images or pictures that use the following formats:

JPG/JPEG (Joint Photographic Experts Group)

JPEG is the most common image format on websites and most digital cameras produce JPEG images as default.

GIF (Graphics Interchange Format)

GIF is a bitmap image format that is popular because of its wide support and portability.

PNG (Portable Network Graphics)

PNG is a raster image format which supports lossless data compression and also background transparency.

TIF/TIFF (Tagged Image File Format)

TIFF is flexible, adaptable, and capable of storing image data in a lossless format.

BMP (BitMaP)

Also known as bitmap image file, which is a dot matrix data structure.

Importing graphics and images

Inserting

To import graphic or image files into a drawing, go to Insert > Image on the Menu bar to open the Insert Image dialog (Figure 1).

Draw contains import filters for the majority of graphic formats. If the file being imported uses a graphic format not compatible with LibreOffice import filters, it is recommended to use a free graphic conversion program to convert the file into a graphic format that Draw recognizes.

If Preview is selected, a preview of the file is shown on the right-hand side of the Insert Image dialog. This makes it easier to select the file required and makes sure that Draw can import the graphic file format used.

Figure 1: Insert Image dialog

Insert Image dialog

Embedding

Embedding graphics into a drawing makes graphics a permanent part of the drawing. Any changes made to an embedded graphic only appear in a LibreOffice drawing where the graphic has been embedded. The original graphic file is not affected. Embedding is importing a graphic into a drawing using one of the following methods:

Insert Image dialog

Copying and pasting

Scanning a graphic

Dragging and dropping between open files.

The main advantage of embedding graphics into a drawing is that a graphic is always available no matter what computer is used to open the drawing.

The main disadvantage of embedding graphics is that it creates large file sizes, which may create storage problems if there is limited storage capacity on the computer. Also, if the original graphic is altered, the embedded graphic is not updated each time the LibreOffice drawing is opened.

When a graphic is embedded into a LibreOffice drawing, make sure that Insert as Link is not selected in the Insert Image dialog.

Linking

Linking to an original graphic does not insert the graphic into a drawing, but creates a link to the location of an original graphic file. Each time a LibreOffice drawing is opened, any linked graphics are displayed in the drawing.

Figure 2: Confirm Linked Graphic dialog

Confirm Linked Graphic dialog

The main advantage of linking graphic files is that if the original graphic file is altered or modified, opening a LibreOffice drawing automatically updates the linked graphic. Also the file size of a LibreOffice drawing is smaller and the original graphic is easily edited with specialized external applications.

The main disadvantage of linking graphics is that the link must be maintained between a LibreOffice drawing and the embedded graphic file for a link to work correctly. If the original drawing or graphic file is moved to another computer location, then any links must be updated to include the new location.

  1. Open the Insert Image dialog.

  2. Select Insert as Link in the Insert Image dialog.

  3. Select the required graphic or image file and click on Open to open the Confirm Linked Graphic dialog (Figure 2).

  4. Click on Keep Link to link the file and close the Confirm Linked Graphic dialog.

  5. If required, click on Embed Graphic to embed the file instead of linking the file. This also closes the Confirm Linked Graphic dialog.

When a graphic or image file is linked in a LibreOffice drawing, the file format of the linked graphic or image is not changed.

Editing links

  1. Go to Edit > External Links on the Menu bar to open the Edit Links dialog (Figure 3) and select the link to be edited.

  2. Click on Modify, Break Link, or Update as appropriate.

  1. Click on Close to save the changes to the link and close the Edit Links dialog.

Figure 3: Edit Links dialog

Edit Links dialog

Copying and pasting

Copying and pasting a graphic also embeds a graphic or image file into a LibreOffice drawing. A copied graphic can be an image already embedded in another document or drawing, or a graphic file such as a drawing, document, or photograph.

  1. After copying the graphic file, go to Edit > Paste Special > Paste Special on the Menu bar to open the Paste Special dialog.

  2. Select the required format for pasting the copied graphic into a LibreOffice drawing. Available formats for pasting depend on the type of file copied onto the clipboard.

  3. Click OK to paste the graphic file and close the Paste Special dialog.

When copying and pasting images into a LibreOffice drawing, respect the copyright and license of any file being copied.

Exporting images

Exporting ODG files

By default Draw saves drawings in the Open Document format ODG and some software programs are not compatible with the ODG format. To make drawings compatible with other software applications, an ODG file can be exported in several formats. The export procedure used depends on the computer setup and computer operating system being used. The following procedure is an example export procedure.

  1. Open the ODG file being exported.

Figure 4: Example export dialog

Example export dialog

  1. Go to File > Export on the Menu bar and open the Export dialog. An example export dialog is shown in Figure 4.

  2. Enter a filename for the exported file and navigate to the folder where the exported file is to be saved.

  3. Select the required file format from the options in the drop-down list.

  4. Click Export and the file is exported as a new file in the selected file format.

  5. Depending on the file format selected, another dialog may open allowing options to be selected for the export format.

  6. Depending on the additional dialog that may open, click on Export, Create, or OK and the file is exported as a new file in its new format.

Exporting graphics or images

Exporting individual graphics or images, or a group of graphics or images, from a drawing file is similar to exporting files. The following export procedure is an example. Actual procedure depends on computer operating system and computer setup.

  1. Open the ODG file that contains the graphic or images for export.

  2. In the ODG file, select the graphics or images for export.

  3. Go to File > Export on the Menu bar and open the Export dialog. An example export dialog is shown in Figure 4.

  4. Enter a filename for the exported file and navigate to the folder where the exported file is to be saved.

  5. Click on Selection in the Export dialog. Selecting may open an example options dialog as shown in Figure 5.

  6. Enter the required options in the options dialog and click OK to export the file to the selected destination. There is no confirmation of export.

Figure 5: Example of Export Options dialog

Example of Export Options dialog

Figure 6: Image toolbar

Image toolbar

Formatting images

Images (raster graphics) are edited and formatted to add or change filters and adjust the properties of color, lines, areas, and shadows using one of the following methods:

Formatting changes to a graphic using LibreOffice tools only appear in the drawing where the graphic was modified. Original graphic file is not affected. Raster graphics included in a group behave like other objects when the properties of the group are edited and formatted.

Naming images

Draw names objects using the insertion order into a drawing, for example Shape 1, Shape 2, and so on. It is recommended to rename objects using a unique name. Names make objects and images easily identifiable in the Navigator.

  1. Select an image, then use one of the following methods to open the Name dialog and create a unique name for the selected image:

  1. Enter a name in the Name text box in the Name dialog that opens and click OK.

Image toolbar

The Image toolbar (Figure 6) appears when an image or raster graphic object is selected. For more information on the Image toolbar and the available tools, see Appendix B, Toolbars. The tools listed below for the Image toolbar are an example only.

Position and Size (F4)

Opens the Position and Size dialog. See Chapter 3, Working with Objects for more information.

Align Objects

Opens a sub-toolbar giving access to alignment tools for aligning selected objects in relation to each other. See Chapter 5, Combining Multiple Objects for more information.

Bring to Front

Brings the selected object to the front of a group of objects (Ctrl+Shift++) (macOS ⌘+Shift++).

Bring Forward

Brings the selected object forward one step (Ctrl++) (macOS ⌘++).

Send Backward

Sends the selected object one step backward (Ctrl+–) (macOS ⌘+–).

Send to Back

Sends the selected object to the back of a group of objects (Ctrl+Shift+–) (macOS ⌘+Shift+–).

In Front of Object

Moves the selected object in front of another selected object.

Behind Object

Moves the selected object behind another selected object.

Reverse

Reverses the order of the selected objects. This tool is grayed out if only one object is selected.

Line Style

Opens a drop-down list with different line styles used for the outline of the border. See Chapter 4, Changing Object Attributes for more information.

Line Width

Used to change the width of a line. See Chapter 4, Changing Object Attributes for more information.

Line Color

Used to change the color of a line. See Chapter 4, Changing Object Attributes for more information.

Area Style/Filling

Used to change the type of filling used in a shape. See Chapter 4, Changing Object Attributes for more information.

Shadow

Sets the default shadow effect around the picture. The shadow attributes are adjusted using the Shadow panel in the Properties deck on the Sidebar. See Chapter 4, Changing Object Attributes for more information.

Filter

Opens the Image Filter toolbar which is described in “Image filtersbelow.

Image Mode

Changes the display of the image from color to grayscale, black and white, or a watermark. This setting affects only the display and printing of the image; the original image file remains unchanged. The image mode setting can also be changed using Color mode in the Image panel in the Properties deck on the Sidebar (Figure 7).

Default

Image is displayed unaltered in color.

Grayscale

Image is displayed in 256 shades of gray.

Black/White

Image is displayed in black and white.

Figure 7: Image panel in Properties deck on Sidebar

Image panel in Properties deck on Sidebar

Figure 8: Color sub-toolbar

Color sub-toolbar

Watermark

Color, brightness, contrast, and gamma settings are reduced so that the image can be used as a watermark (background). The default settings for Watermark can be adjusted using the Color sub-toolbar (Figure 8).

Crop Image

Crops or trims an image. When using this tool, crop marks appear around the image. Drag one or more of these marks to crop the image to the desired size. For more information on cropping, see “Cropping imagesbelow.

Vertically

Flips the selected object vertically. See Chapter 4, Changing Object Attributes for more information.

Horizontally

Flips the selected object horizontally. See Chapter 4, Changing Object Attributes for more information.

Transformations

Opens the Transformations toolbar. See Chapter 4, Changing Object Attributes for more information.

Transparency

Adjusts the degree of transparency of the image between 0% (opaque) and 100% (fully transparent). The transparency setting can also be adjusted using the Image panel in the Properties deck on the Sidebar.

Color

Opens the Color sub-toolbar (Figure 8) to adjust the values of the RGB colors, brightness, contrast, and Gamma. These adjustments do not affect the original image, but the values are stored in LibreOffice Draw as a separate formatting set. The color settings can also be adjusted using the Image panel in the Properties deck on the Sidebar.

Red, Green, Blue

Select values between –100% (no color) to +100% (full intensity); 0% represents the original color value of the image.

Brightness

Select a value between –100% (totally black) and +100% (totally white).

Contrast

Select a value between –100% (minimum) and +100% (maximum).

Gamma

Affects the brightness of the middle color tones. Select a value between 0.10 (minimum) to 10 (maximum) Try adjusting this value if changing brightness or contrast does not give the required result.

Cropping images

Cropping is a method of hiding unwanted areas of an image or changing the size of an image in a drawing. Changes made when cropping an image only change the display of the image in a drawing and not the original image file.

Quick cropping

After selecting an image, it can be cropped quickly using one of the following methods:

Selection handles appear around the selected image, as shown in the example in Figure 9. The image is cropped as follows:

Crop dialog

For more control and accuracy over the cropping functions, it is recommended to use the Crop dialog (Figure 10). Select an image and go to Format > Image > Crop Dialog on the Menu bar to open the Crop dialog.

Figure 9: Example image in crop mode

Example image in crop mode

Figure 10: Crop dialog

Crop dialog

Crop

Trim or scale the selected image, or add white space around the image.

Keep scale

Maintains the original scale of the image when cropping so that only the size of the image changes.

Keep image size

Maintains the image original size when cropping so that only the image scale changes. To reduce the image scale, select this option and enter negative values in the cropping boxes. To increase the image scale, enter positive values in the cropping boxes.

Left and Right

If Keep scale is selected, enter positive amount to trim the left or right edge of images, or negative amount to add white space to the left or right of images. If Keep image size is selected, enter a positive amount to increase image horizontal scale, or a negative amount to decrease image horizontal scale.

Top and Bottom

If Keep scale is selected, enter a positive amount to trim the image top or bottom, or a negative amount to add white space above or below the image. If Keep image size is selected, enter a positive amount to increase the image vertical scale, or a negative amount to decrease the image vertical scale.

Scale

Used to change the image scale as it appears in a drawing.

Width

Enter a percentage value to change the image width.

Height

Enter a percentage value to change the image height.

Image Size

Used to change the image size.

Width

Enter a value for the image width.

Height

Enter a value for the image height.

Original Size

Original size of the image is displayed above the option. Clicking on this option and then clicking OK resets the selected image to its original size.

In the Crop dialog, the Width and Height are treated as independent values. Changing one without the other can result in significant distortion of the image and this may not be what is required.

Exporting cropped images

If a cropped image is to be used in another drawing, use one of the following methods after selecting the cropped image.

Using Export dialog

  1. Select the cropped image.

  2. Go to File > Export on the Menu bar to open the Export dialog.

  3. Navigate to the destination folder, then enter a filename.

  4. Click on Selection, then click on Export. See “Exporting imagesabove for more information.

Using Save

  1. Select the cropped image.

  2. Go to Format > Image > Save on the Menu bar or right click on the cropped image and select Save from the context menu.

  3. Click on Yes to save the modified image and open an Image Export dialog.

  4. Select the file format required, navigate to the destination folder, and enter a filename.

  5. Click on Save to save the cropped image.

Compressing images

If a large image is inserted into a drawing and resized to fit into the layout of the drawing, the complete full-size original image is stored in the drawing file. This preserves the original image, possibly resulting in a large file to store or send by mail.

If some loss of image quality can be accepted, the image can be compressed using the following procedure. This reduces the data volume while preserving the display in the page layout.

  1. Open the Compress Image dialog (Figure 11) using one of the following methods:

  1. Select the type of compression and the resolution required.

  2. Click on Calculate New Size to update the image information when the Compression and Resolution settings are changed.

Figure 11: Compress Image dialog

Compress Image dialog

  1. When satisfied with the new settings, click OK to apply the settings.

  2. If the resulting image is not acceptable, use one of the following methods to undo the changes and select another compression setting.

Image filters

Draw has eleven filter effects that can be applied to selected images and these image filters can be combined. Filters always apply to the entire image and it is not possible to use filters on only part of the image.

If an image is embedded into a drawing, any image filters are only applied directly to the embedded image and the original image file is not changed. Save the drawing to retain any filter effects applied to the embedded image in a drawing.
After a drawing is saved and closed, the effects of image filters become permanent. If image filter effects are not satisfactory, use Edit > Undo on the Menu bar to cancel the filter effects BEFORE saving the drawing.
When applying image filters to an image, the file size of the image must be taken into account. On large file sizes, there is a time lag between applying an image filter and the effect to become visible on the image.

Applying image filters

  1. Select an image to open the Image toolbar.

  2. Apply an image filter using one of the following methods:

Figure 12: Image Filter sub-toolbar

Image Filter sub-toolbar

Figure 13: No filter applied

Example no filter applied

Figure 14: Invert filter applied

Example invert filter applied

Figure 15: Smooth filter applied

Example smooth filter applied

Figure 16: Smooth dialog

Smooth dialog

Image filters

No image filter

Figure 13 is an example image with no image filters applied.

Invert filter

Inverts or reverses the color values of a color image (similar to a color negative), or the brightness values of a grayscale image. Apply the filter again to revert to the original graphic (Figure 14).

Smooth filter

Softens or blurs the image by applying a low pass filter. This reduces the contrast between neighboring pixels and produces a lack of sharpness making the image appear smoother. The effect of the smooth filter can be very subtle. Figure 15 shows the effect of applying a Smooth radius of 15 to an image.

Selecting this filter opens the Smooth dialog (Figure 16) where the smooth radius parameter is set. The preview in the Smooth dialog shows the effect of applying the Smooth filter to an image.

Sharpen filter

Sharpens the image by applying a high pass filter, adjusting the contrast between neighboring pixels. The effect increases if the filter is applied several times making the colors appear faded, as shown by the example in Figure 17.

Remove Noise filter

Removes noise by applying a median filter comparing every pixel with its neighbor. It replaces any pixel with extreme values that deviate in color by a large amount from the mean value with a pixel that has a mean color value. The amount of picture information does not increase each time the filter is applied. However, there are fewer contrast changes resulting in an image that looks smoother and the effect is very subtle (Figure 18).

Solarization filter

Solarization refers to an effect that looks when there is too much light during photo development and the colors have become partly inverted. Dark areas appear light or light areas appear dark. In the digital world of photography, solarization creates a change or reversal of color, similar to the effect of the Invert image filter. Figure 19 shows the effect of a Solarization filter applied using a Threshold value of 50%.

Selecting Solarization opens the Solarization dialog (Figure 20), where the degree of solarization (Threshold value) can be specified. Entering a Threshold value above 70% reverses the inversion effect on colors. Also, selecting Invert reverses the effect of the Solarization image filter, as shown in the preview box in Figure 20.

Figure 17: Sharpen filter applied

Example sharpen filter applied

Figure 18: Remove noise filter applied

Example remove noise filter applied

Figure 19: Solarization filter applied

Example solarization filter applied

Figure 20: Solarization dialog

Solarization dialog

Figure 21: Aging filter applied

Example aging filter applied

Figure 22: Aging dialog

Aging dialog

Aging filter

The Aging filter creates a look that resembles photographs developed in the early days of photography (Figure 21). All pixels are set to their gray values. The green and blue color channels are then reduced by the amount specified in Aging degree in the Aging dialog. Red color channel is not changed. Selecting the Aging filter opens the Aging dialog (Figure 22), where the Aging degree can be defined and create an old look for an image.

Posterize filter

Posterizing reduces the number of colors in an image. For example, a photograph will probably look like a painting when the number of colors is reduced (Figure 23). Selecting Posterize opens the Posterize dialog (Figure 24) where the number of Poster colors can be defined to produce the effect required.

Figure 23: Posterize filter applied

Example posterize filter applied

Figure 24: Posterize dialog

Posterize dialog

Charcoal Sketch filter

Displays an image as a charcoal sketch. The contours of the image are drawn in black and the original colors are suppressed (Figure 26).

Pop Art filter

Changes the colors of an image by converting the image to a pop-art format (Figure 25).

Figure 25: Pop art filter applied

Example pop art filter applied

Figure 26: Charcoal sketch filter applied

Example charcoal sketch filter applied

Relief filter

Calculates the edges of an image in relief as if the image is illuminated by a light source (Figure 27). Selecting Relief opens the Emboss dialog (Figure 28) where the position of the Light source is selected producing shadows that differ in direction and magnitude.

Figure 27: Relief filter applied

Example relief filter applied

Figure 28: Emboss dialog

Emboss dialog

Mosaic filter

The Mosaic filter joins groups of pixels and converts the pixels into rectangles of a single color creating an image that appears to be a mosaic (Figure 29). The larger the individual rectangles created, the fewer details in the mosaic graphic.

Selecting this image filter opens the Mosaic dialog (Figure 30), where the number of pixels for Width and Height of the tiles is set. Selecting Enhanced edges enhances the edges of each tile, creating a sharper definition.

Figure 29: Mosaic filter applied

Example mosaic filter applied

Figure 30: Mosaic dialog

Mosaic dialog

Replacing colors

The Color Replacer is used to replace or change a color of an embedded image for another color, or to make a color transparent. Up to four colors can be replaced or changed at the same time. Areas of an image cannot be selected for editing as the Color Replacer only works on the whole of an image.

Selecting replacement colors can only be from the available color palettes in LibreOffice. Custom colors cannot be defined in the Color Replacer, but custom colors can be created before using the Color Replacer. For more information on creating custom colors, see Chapter 11, Advanced Draw Techniques.

The Color Replacer can only be used on embedded images. If the Color Replacer is used on a linked image, the following error message appears “This image is linked to a document. Do you want to unlink the image in order to edit it?”. Click on Yes to unlink and embed the graphic.

Color Replacer dialog

Pipette

Switches color selection on when selected.

Replace

Replaces selected source colors in a selected image with the colors specified in the Replace with boxes.

Colors

Lists the source colors and the replacement colors.

Source color

Select this checkbox to replace the current Source color with the color that specified in the Replace with box.

Tolerance

Set the tolerance for replacing a source color in a source image. To replace colors that are similar to the color selected, enter a low value. To replace a wider range of colors, enter a higher value.

Replace with

Lists the available color palettes and replacement colors.

Transparency

Replaces transparent areas in the selected image with the color selected.

Replacing colors

Using the Color Replacer replaces all occurrences of a Source color that are in the selected image. Default selection of Transparent in the Replace with boxes removes selected color from an image creating transparent areas in a selected image.

  1. Select an embedded image.

  2. Go to Tools > Color Replacer on the Menu bar to open the Color Replacer dialog (Figure 31).

  3. Click on Pipette at the top of the Color Replacer dialog to activate the color selection mode.

  4. Move the cursor over the color to be replaced in the selected image.

  5. Click on the color and following happens. A maximum of four colors can be selected in an image.

  1. Enter the amount of tolerance required for replacing each selected color in the Tolerance boxes. The default selection is 10% tolerance.

Figure 31: Color Replacer dialog

Color Replacer dialog

  1. In Replace with and for each selected color, select a color palette from the drop-down list, then select the required color from the color palette. Transparent is the default selection.

  2. After selecting up to four colors for replacement, click Replace to replace the colors in the selected image. Examples of the original image and after color replacement are shown in Figure 32 Figure 33.

Figure 32: Before replacing colors

Example before replacing colors

Figure 33: After replacing colors

Example after replacing colors

  1. There is no preview of the effect. If the result is not satisfactory, select Edit > Undo: Image with transparency Color Replacer in the Menu bar and repeat the color replacement.

Replacing transparent areas

  1. Go to Tools > Color Replacer on the Menu bar to open the Color Replacer dialog.

  2. Select an image with transparent areas.

  3. Select Transparency in the Color Replacer dialog so that a check mark appears next to Transparency.

  4. Select a color palette from the drop-down list next to Transparency, then select a color from the selected palette.

  5. Click on Replace and the transparent areas are filled with the selected color.

  6. There is no preview of the effect. If the result is not satisfactory, select Edit > Undo: Image with transparency Color Replacer in the Menu bar and repeat the transparency replacement.

Conversion

Contour conversion

Consider the following points before carrying out a contour conversion on an object:

A contour conversion is carried out as follows:

  1. Carry out all necessary editing on the object before converting to a contour.

  2. Make sure the object is selected.

  3. Convert the object to a contour using one of the following methods:

Polygon conversion

Polygon conversion is used to convert a selected image into a group of polygons filled with color. The image is also converted to a vector graphic and can be resized with no loss of image quality or distortion of any text. After conversion, the graphic can be broken into groups of polygons and then split into individual polygons. Breaking and splitting allows editing or deletion of individual colors within the graphic.

Conversion options and controls

Number of colors

Enter the number of colors to be displayed in the converted image. LibreOffice generates a polygon for each occurrence of a color in the image. The range for the number of colors is between 8 and 32.

Point reduction

Removes color polygons that are smaller than the pixel value entered. The range for point reduction is between 0 and 32 pixels.

Fill holes

Fills blank areas in the graphic that can be created when applying a point reduction.

Tile size

Enter the size of the rectangle for the background fill. Tile sizes range between 8 and 128 pixels.

Source image

Preview of the original image.

Vectorized image

Preview of the converted image.

Preview

Creates a preview of the converted image in Vectorized image without applying any changes.

OK

Converts the image to a vector graphic consisting of polygons. The result is a metafile in SVM format (Star View Metafile) used by LibreOffice and allows transfer of the converted image to other LibreOffice documents.

Converting

  1. Select an image in a drawing.

  2. Convert the image into a polygon using one of the following methods and open the Convert to Polygon dialog (Figure 34).

  1. Select Number of colors and Point reduction to be used in the conversion.

  2. Select Fill holes to prevent any blank areas appearing in the converted image.

  3. Enter the number of pixels to use for Tile size.

  4. Click Preview to check how the converted graphic will look.

  5. Make any necessary changes to the settings and check the preview again.

  6. If the converted image meets the expected requirements, click OK to convert the image to a polygon and close the Convert to Polygon dialog.

Figure 34: Convert to Polygon dialog

Convert to Polygon dialog

Breaking

After converting an image to polygons, a vectorized image can be broken into groups of polygons. Each polygon group consists of one color and becomes an object that can be used in another drawing.

  1. Convert an image to polygons.

  2. Make sure the converted image is selected, then use one of the following methods to break the image into groups of polygons:

  1. Click on a color in the image and drag the group of polygons filled with that color out of the image to create a new image.

  2. Alternatively, press Delete and delete the color from the image.

Splitting

After converting an image to polygons and breaking the image into polygon groups, these polygon groups can be split into individual polygons.

  1. Convert an image to polygons.

  2. Break the image into groups of polygons.

  3. Select the image, then use one of the following methods to split the polygon groups into individual polygons:

  1. Select an individual polygon (or several polygons) in the image and drag the polygon from the image to create a new image in the drawing.

  2. Alternatively, press Delete to delete the selected polygon(s) from the image.

Bitmap conversion

All drawing objects placed into a LibreOffice drawing are vector graphics and these vector graphics can be converted to a bitmap (raster graphic) in PNG format. Any transparent areas in the original vector graphic are lost during conversion even though the PNG format used by Draw supports transparencies. Use one of the following methods to convert a vector graphic to a bitmap. There is no confirmation dialog is for a bitmap conversion.

Contents