Skip to main content

Selections

 

Selections

In this part, we will focus at regular layers with raster images (pixel data). There are many tools to edit pixel data (Brush, Eraser, adjustments, filters). But we often don't want to edit the whole layer, but just some part of it.

The selection defines a set of pixels, that are "selected" and can be edited by tools. Precisely, it is a "map" over the whole image, which gives each pixel the value between 0 % and 100 %. This value says, how much color of the pixel can be changed, and how much should be preserved. Selections are not bound to layers (as masks), but there is just one selection for the whole document, which is used for every layer that you work with.

For example, Photopea has the Fill operation (Edit - Fill). By default, it will fill the whole layer with a foreground color. Once you have a selection, it will fill only the selected area with that color.

While masks are visualized with the white and the black color (in their thumbnails), selections are visualized right in the main area of the document with the contour, that is drawn between selected and unselected areas. We can say, that operations are applied inside the selection, and not outside of it. Here you can see an example of the selection, and the result, when you draw on top of it with a Brush tool.

Working with Selections

Once you have a selection, there are several basic operations for changing it. The basic operation is inverting the selection - it will select unselected pixels and unselect selected pixels (available in Select - Inverse).

You can expand the selection by several pixels (i.e. add pixels close to the selection into the selection), contract it by several pixels (the opposite operation to expanding), or feather - apply a blur to the selection, to make a smooth transition between 0 % areas and 100 % areas. All this is available at Select - Modify - Expand / Contract / Feather.

You can move the selection by clicking inside it and dragging it (with any Selection tool, e.g. with a Lasso tool). You can transform the selection (e.g. rotate it, or make it larger, while having the same shape) using Select - Transform Selection.

Deselection (removing the selection) is possible through Select - Deselect (or Ctrl + D).

Quick Mask Mode

There is a special button at the end of a toolbar, which enables a Quick Mask Mode (you can also press Q). When you press it, the current selection is converted into a quick mask (a special red image), which is on top of all other layers. All editing, that you do (e.g. painting or erasing), is applied to that quick mask (document layers are not editable). It allows you to edit the selection with regular pixel editing tools.

When you are done editing the quick mask, press the same button again, to turn it back into a selection. When you save your document as a PSD, which is in a Quick Mask mode, it remains in a Quick Mask mode after opening it again.


Comments

Post a Comment

Please do not post irrelevant comments on the forum

Popular posts from this blog

Introduction To Photopea

  Introduction Photopea is an advanced image editor, which can work with both raster and vector graphics. You can use it for simple tasks, such as resizing images, as well as complex tasks, such as designing webpages, creating illustrations, processing photographs and more. This website will teach you how to use Photopea  step by step . We will start with basic tasks and gradually progress to more complex features. The chapters (on the left) have been organized, such that each chapter uses only the knowledge from previous chapters, so you can learn effectively and efficiently. Colors Right now, Photopea works with the sRGB color space (the basic color space for the web), with the 8-bit color depth. All exported files use sRGB, too. Starting and using Photopea Photopea editor works in a web browser. It can be started by going to  www.Photopea.com . Photopea can run on any device (desktop, laptop, tablet, phone or any other computer), but for the best comfort, we recommend having a big s

Guides, Grid and Snapping

  Guides, Grid and Snapping Precise position of image elements can be very important. The basic tool, which can help us align image elements, are  rulers . Rulers can be enabled in View - Rulers. But there are several other ways how to align elements precisely. Guides There can be multiple guides in a PSD document. A guide is a horizontal or a vertical line, which is displayed over the document and can help you align elements. To add or delete a guide, select the Move tool and enable rulers. To add a guide, click on the ruler and drag the mouse into the document. To delete a guide, click on it and drag it onto the ruler. To move existing guides, click on them with a Move tool and drag them to a new location. Grid Designers often need to place some elements regularly, with an equal distance between them. Instead of adding many guides with the same spaces between them, we can use the  grid . A regular grid will be displayed over your document, which can help you align other elements. Pix

Text

  Text P utting text into images is an essential operation of image editing. Photopea offers a rich set of tools for working with text. Text is stored in PSD documents inside   Type Layers , which have a thumbnail with a capital letter T on it. There are three kinds of Type layers: Point text  - defined by the point of origin. The text starts at that point and continues on a single line until the line break (Enter). Paragraph text  - defined by the rectangle. Paragraphs are broken automatically into multiple lines to fill the rectangle. Text on a curve  - defined by a curve, letters are arranged along the curve. Creating a Type layer The  Type tool  is used for working with Type layers:  . To create a  Point text , choose a Type tool and click (press and release) the mouse at some place, which will become the origin. To create a  Paragraph text , press the mouse and drag it to draw a rectangle, then release the mouse. After creating the new Type layer, you can start typing. If you clic