Create screenshots based on HTML previews
Rigi's Documentation functionality enables you to simultaneously create screenshots for multiple languages based on captured HTML previews and localized strings.
Global screenshot settings.
Rigi subscribers can set global general settings for documentation books in the Server settings. By default, those settings will be applied to all new books, but can be changed for a specific book. For details, see the Configure documentation settings guide.
To transform captured HTML previews into screenshots, perform the following steps:
Open the required project.
In the project menu, select Documentation.
Create a documentation book (a folder for screenshots):
Click the New book button. The Create book wizard will be displayed.
In the General step, perform the following:
Give this book a name.
Select image format for screenshots: jpeg or png.
(Optional) Add a border to screenshots by switching the Border toggle. You can configure the border's color and width.
(Optional) In the Color palette section, select one or several colors for the screenshot tools.
Click the Next button.
In the Dimensions step, set the default width and (optionally) height for screenshots.

In the Locale-specific variables step, you can add values in different languages for variables used in your application. This enables you to localize variables on the screenshots.

To add a locale-specific value, click the
'Edit variables' icon. The Edit locale-specific variables popup will be displayed.
From the Select locales dropdown, select the languages for which you will add values.
In the Variables field, enter the name of the variable.
In the Settings section, enter the required values for the selected languages.
Default value
To use a default value for a variable, enter the required value in the Settings field and leave the language-specific fields empty.
Click the Save button.
To export locale-specific variables to a CSV file, click the
'Export variables' icon. The Export locale-specific variables popup will be displayed.
Specify whether you want to export variables to a single file or create a separate file for each language.
Specify the CSV separator (comma or semicolon).
Click the Export button.
To import variables from a CSV file, click the
'Import variables' icon and upload the required file.
In the Target rule step, you can configure the screenshot naming rule and the downloading settings:
To define how the file name for a screenshot is to be created, drag the variables from the top field into the Resulting screenshot name field.
To add custom text, hover over the Resulting screenshot name field, click the
'Plus' icon, and enter the required text in the Create new variable popup.To specify that subfolders for each language are to be created automatically when downloading screenshots from this book, select the Write resulting screenshots in subfolder with language name checkbox.
Define the structure of the downloaded documentation book (flat or nested) usig the Write flat structure checkbox.
Click the Create button.
Create a folder in a documentation book.
For the first folder, click the here button in the display center.
For subsequent folders, click the New folder button in the top right-hand corner of the screen.
In the Create folder popup, enter the folder name and click the Create button.
Subfolder creation
To create a subfolder within a documentation book folder, hover over that folder and click the
'New folder' icon.Create screenshots based on the captured HTML previews of the application:
Hover over a folder or subfolder in a documentation book and click the
'Add screenshot' icon. A wizard popup will be displayed.In the General step, perform the following:

Give the screenshot a name.
(Optional) Enter a reference ID.
(Optional) Adjust the screenshot settings configured in the documentation book settings (image format and dimensions).
Click the Next button.
In the Select preview step, locate and select the required HTML preview.

Locate previews
Use the filter panel in the Search field to filter previews by tags, comments, or date.
Hover over the preview images to enlarge them.
Click on the preview images to display them in full-screen mode.
Click the Create button. You will be directed to the screenshot editor.
In the screenshot editor, use the tools from the left-hand side panel to edit the screenshot. To do so, select a tool and apply it to a specific element or string on the preview. For details, see the Screenshot editor tools section below.

After you select a tool, you can configure its settings in the right-hand side panel.
Important
The changes you make to a screenshot in the screenshot editor will be displayed in each language version of this screenshot.
After you finish editing the screenshot, click the Save button in the top right-hand corner of the screen.
Click the
'Close' icon in the top right-hand corner of the screen.
If required, repeat step 5 for other screenshots.
To download the resulting screenshots, perform the following steps:
In the project menu, select Documentation.
Hover over the required book and click the
'Download book' icon. The Generate screenshots popup will be displayed.
Select the languages for which you want screenshots to be downloaded.
Click the Next button.
In the Quality step, configure the screenshot quality settings:

Set the device pixel ratio (0-10).
Set the required file quality (0-100%).
Specify whether you want to reduce the file size using lossless compression.
Click the Download button. A ZIP folder called Images for documentation will be downloaded to your local machine.
The Rigi screenshot editor offers several tools that can be applied to HTML preview elements and strings.

In the screenshot editor, you can:
select a tool on the left-hand side panel.
configure tool properties on the right-hand side panel.
configure the opacity of the covering elements (in the top-right-hand corner of the screen).
The opacity level changes are only applied in the screenshot editor. The covering elements on the resulting screenshots will always have 100% opacity.
undo or redo your actions.
preview the resulting screenshots.
Preview mode
In the preview mode, you can select different locales to preview the screenshot in different languages.
Tool | Description | Properties |
|---|---|---|
Select | Use this to edit previously applied designs. | |
Crop | Use this to select an area within the HTML preview by selecting the elements that enclose the required area. |
|
Highlight | Creates a border for the selected element. |
|
Circle | Covers the selected element with a circle. |
|
Rectangle | Covers the selected element with a rectangle. |
|
Hide text | Covers the selected text string with a rectangle to hide it. |
|
Blur | Blurs the selected element. |
|
Arrow | Draws an arrow pointing to the selected element. |
|
Hide image | Hides the selected image with an image icon. | |
Counter | Labels the selected elements with consecutive numbers. |
|
Text | Replaces the selected element with a custom text. This text will be displayed on all screenshots based on the current preview, regardless of language. |
|
Locale text | Replaces the selected element with a locale-specific text defined in the book settings (for details, see step 3.d. above). |
|
Erase | Removes the selected previously applied design. | |
Simplify | Use this to hide all texts and images on a screenshot instantly. | For Hide images option:
For Hide text option:
|
Erase all | Removes all previously applied designs. |