ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Image editor
  • Overview
  • Opening the image editor
  • Displaying an existing image
  • Creating an image (or an icon)
  • Saving an image via the image editor
  • Saving an edited image
  • Saving a new image or icon
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile include an image editor.
A ribbon and a pane contain the main features of the editor.
Remark: This help page explains how to start the image editor. For more details on the available features, see Image editor: Features.
Opening the image editor
The image editor can be opened:
  • to display an existing image or icon,
  • to create a new image or a new icon.

Displaying an existing image

To display an existing image, you can:
  • use the "Images" pane in the WINDEV, WEBDEV or WINDEV Mobile editor. This pane lists the images located in the current project directory (or in the _WEB directory for a WEBDEV project). You can also open an image located on the disk. For more details, see The "Images" pane.
  • use the context menu of the control displaying the image:
    • Open the context menu of the control (e.g., Image or Button control).
    • Select the option "Edit image".
  • use the control description window: In the "General" tab, expand Menu icon on the right of the image path and select "Edit image".
The selected image appears in the image editor and can be edited.

Creating an image (or an icon)

To create an image in the image editor, you can:
  • use the "Images" pane in the WINDEV, WEBDEV or WINDEV Mobile editor. For more details, see The "Images" pane.
  • use the window for creating new elements:
    1. Click New in the quick access buttons.
    2. In the window that appears, click "Workshop" then "Image".
    3. A window used to define the image to create is displayed. You can create:
      • a blank image or choose an image from the image catalog.
        Creating an image
      • a blank icon or choose an icon from the image catalog.
        Creating an icon
    4. Validate. If necessary, choose the base image and its characteristics in the image catalog.
    5. A new image appears in the image editor.
Saving an image via the image editor

Saving an edited image

An image edited in the image editor can be saved via the Save icon of the ribbon.
Several cases may occur:
  • If the image does not have any layers (simple image directly edited or flattened image), it is automatically saved in its original format with the same name. Therefore, the existing image is directly updated in the windows, reports, etc. that use the image.
  • If the image has at least one layer, it can be saved in different formats:
    • Image in PNG format only. The layers will be lost.
    • Image in PNG and WDPIC format. The name of the WDPIC image file is in the following format: "initialimagename.initialextension.wdpic". The WDPIC image contains the description of all layers and changes made the original image. The original image does not change. If you try to load an image that has an equivalent .wdpic file, the .wdpic file is automatically loaded in the image editor.
    • Image in WDPIC format only.
      In this case, the original image does not change.
      The WDPIC image can be associated with the different elements of your projects, like any other image format.
Remark: Once the format is selected, the future changes are saved in the same format.

Saving a new image or icon

If you created an image or icon in the image editor, you can save it by clicking Save in the ribbon. The save window appears and prompts you to save:
  • the image in "wdpic" format by default.
  • the icon in "ico" format by default.
To change the format in which the image will be saved, click "..." and select the desired format. The following formats are available: WDPIC, TIF, ICO, PNG, JPEG, BMP and GIF.
Remark: Once the format is selected, the future changes are saved in the same format.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/01/2023

Send a report | Local help