5.8. Sample Points Dialog

While the Color Picker can display color information about one pixel, the «Sample Points» dialog can display the data of four pixels of the active layer or the image, at the same time. Another important difference is that the values of these points are changed in real time as you are working on the image.

5.8.1. Activating the dialog

The «Sample Points» dialog is a dockable dialog; see the section Розділ 2.3, «Dialogs and Docking» for help on manipulating it.

You can access it:

  • from the image menu: WindowsDockable DialogsSample Points.

  • from the Tab menu in any dockable dialog by clicking on and selecting Add TabSample Points.

5.8.2. Using sample points

To create a sample point, Ctrl-click on one of the two measure rules of the image window and drag the mouse pointer. Two perpendicular guides appear. The sample point is where both guides intersect. You can see its coordinates in the lower left corner and the information bar of the image window. Release the mouse button.

The reticle you get Ctrl + click-and-dragging from a rule.

By default, this sample point comes with a round mark and an order number. You can cancel these marks by unchecking the Show Sample Points option in the View menu.

The «Sample Points» dialog should automatically open when you create a sample point. This is not the case; you have to open it manually.

To move or delete a sample point:

  • Using the Eye Dropper tool, simply click-and-drag the sample point, up to a ruler to delete it.

  • Using a paint tool, Ctrl + click-and-drag the sample point, up to a ruler to delete it.

By default, sampling is performed on all layers. If you want to sample on the active layer only, uncheck the Sample merged option in the tab menu:

Рисунок 15.93. The «Sample Point» menu

The «Sample Point» menu

5.8.3. «Sample Points» dialog description

Рисунок 15.94. Sample points dialog

Sample points dialog

The information about four sample points is displayed in this window. You can create more, which will be existing and not shown. To show them, you have to delete displayed points.

The color of the sampled point is displayed in a swatch box.

In the drop-down list, you can choose between:

Pixel

This choice displays the Red, Green, Blue and Alpha values of the pixel, as numbers between 0 and 255.

RGB

This choice displays the Red, Green, Blue and Alpha values of the pixel, as percentages. It also shows the hexadecimal value of the pixel's color.

HSV

This choice displays the Hue, in degrees, as well as the Saturation, Value and Alpha of the pixel, as percentages.

CMYK

This choice displays the Cyan, Magenta, Yellow, Black and Alpha values of the pixel, as percentages.

Data are supplied for every channel in the chosen color model. The Alpha is present only if the image holds an Alpha channel.

Hexa appears only with the RGB mode. That's the hexadecimal code of the HTML Notation.