Image

From SweepMe! Wiki
Jump to navigation Jump to search

The widget "Image" displays an image in the Dashboard during the measurement. It shows the image file whose path is returned by a variable of a module, e.g. the path of the image captured by a Camera driver or a file of the module LoadFiles. Add it via the menu Widgets → Image → New….

Configuration

Double-click the widget to open its settings:

  • Variable / Display?: select the variable that contains the image path.
  • Show pixel values: shows the position (x, y) and the color values (r, g, b, a) of the pixel under the mouse cursor.
  • Flip: mirrors the image, "Top <-> Bottom" and/or "Left <-> Right".
  • Gray scale: displays the image in gray scale.

Supported file formats are jpg, jpeg, png, bmp, pbm, pgm, ppm, xbm, xpm, svg, tif, tiff and gif. The image is scaled to the size of the widget.

Right-click the image and select "Save current image" to save the original image as png, jpg or bmp file.