• Rasterization in Adobe Photoshop CS5. Working with layers in Photoshop. Add, remove, rasterize layer

    Printing processes require illustrations in the layout that are processed in a special way. Halftone one-color illustrations should be rasterized, and colored ones also color separated. For printing, the layout is supplied on a transparent film in full size. The document is output to film using phototypesetting machines. In the roughest approximation, they are similar to laser printers, only the laser illuminates not the light-sensitive drum, but the photographic film. All phototypesetting machines use the PostScript language and have several times more high resolution print than best printers(average 3600 dpi). Phototypesetting machines are very expensive and complex devices that not every product can afford to purchase. To output original layouts, as a rule, they resort to the services of servers specializing in pre-press preparation.

    Linear rasters

    Rasterization is used by almost everyone digital devices Vyva: from monitors to printers. Its essence lies in dividing the image into small cells using a so-called raster grid. In this case, each cell has a solid fill.

    Methods for transmitting halftones in analog (photography) and digital (prints, printing presses) processes are fundamentally different. If you look at an image printed in a printing house or on a laser printer, it is hard to notice that it consists of many small dots, which are called raster. Most often, the points are located regularly, at the same distance from each other, forming linear raster, or raster grid. In the Middle Ages, a special method of rasterization ( frequency modulated), using an irregular arrangement of raster dots. The raster they form is called irregular, or stochaic. In Fig. 17.9 shows a rasterized image.

    Rice. 17.9. Rasterized image

    Unlike photography, a halftone dot cannot have any coloration - it is always black. To convey shades, halftone dots are formed during the screening process. different sizes. Between the thicker points, on-

    printed in adjacent cells of the raster grid, little white space remains. This creates the illusion of a darker shade of color in the area. Conversely, smaller dots printed at the same spacing leave most of the bugs in the space between them white. This gives the impression of a light shade (Fig. 17.10).

    Rice. 17.10. Simulating dark and light shades of gray using a raster

    Digital rasters

    Screening digital methods organized in a different way. Invention in laser printers and phototypesetting machines, laser scrap is created. The beam cannot have a variable size, which is necessary to obtain rar points of varying size. Therefore, the rasterization process involves combining “real” dots created by a laser beam into groups that form raster dots.

    Such a raster is a collection of square cells into which the image is divided. Each cell is allocated for one raster point. A point, in turn, consists of a group of "real" points of the same size, created by an output device. The larger part of such a cell is covered with printer dots, the larger size has a raster dot formed by them and it conveys a darker shade of gray. For example, in order to fill an area of ​​an image with 50% gray, the rasterization program (rasterizer) will fill this area with raster dots, each of which will represent a half-filled raster cell. If it is necessary to transmit 25% gray, the raster cells are filled with black only to the extent of black (Fig. 17.11).

    Rice. 17.11. 2 50% rasters under magnification

    Printer dots in a raster cell can occupy different positions. The shape of the raster dot depends on this. In printing, various raster dot foils are used, but the most traditional and widespread is round. Several examples of supported raster dot shapes are shown in Fig. 17.12.


    a b c d

    Rice. 17.12. Various dot shapes:

    A- round; b- elliptical; V - square; G- linear

    Please note that the number indicated in the printer's passport as resolution (for example, 600 dpi) represents the number of “real” dots that the printer can produce on a single segment 1 cm or 1 inch long. The number of raster points per unit length (raster grid pitch) is called lineature and is measured in so-called lines per inch(lines per inch, lpi) or lines per cm(lines per centimeter, lpc). Since several real dots are required to form a raster dot, the lineature of the raster image is always lower than the printer resolution.

    Lineature and number of grayscales

    The ratio of the resolution of the output device to the raster lineature gives the size of the side of the raster cell, measured at printer points. The maximum number of printer dots that form a halftone dot is equal to the square of the side of the cell. So, for example, if the raster lineature is set to 100 lpi, and the printer resolution is 600 dpi, the side of the raster cell will be equal to 600/100 = 6 points. Under these conditions, the raster dot is formed from 6 6 = 36 printer dots.

    The visible quality of illustrations also depends on the screen lineature. The higher the lineature, the less noticeable the dots that form the raster are, and the print is closer to the photographic original. As you can see, the 50 lpi we obtained is a very small value. If you print an illustration the size of a postage stamp with such a lineature, it is unlikely that you will be able to determine what is depicted on it. After all, each raster grid page will contain only 50 points.

    When printing on an office printer, in order to increase the raster lineature, you have to sacrifice the number of transmitted shades of gray. In most 60-point printers, the default screen lineature value is 85 lpi. With this lineature, the number of shades of gray in the images does not exceed (600/85)2 + 1 = 50. This is three times less than the minimum defined at 150 shades. Hence the low quality of image printing on office laser printers (Fig. 17.13).

    a b c

    Rice. 17.13. Image,

    printed with lineatures: A- 50 lpi; b- 85 lpi; V- 100 lpi

    Color separation and screening

    Color documents represent more difficult case rasterization. Orinal layouts for them should be presented in the form of several films: one for each applied paint. The division of a color image into separate paints (components) is called color separation. The simplest case is the use of spot colors, when each of them is displayed on a separate film. The halftone concept allows you to use shades when working with spot colors. A more common case is the color separation of full-color documents, where four inks of the CMYK model, also called triadic. Consequently, full-color documents are output using a phototypesetting machine onto four films corresponding to the base colors of this model.

    Normal

    15° Blue 15°

    75° Magenta 80°

    0° Yellow 0°

    45° Black 55°

    Rice. 17.14. Angles of inclination of rasters of basic colors when printing with process inks and the pattern of moiré occurrence

    Each color is rasterized separately with different raster grid angles. Traditionally, the tilt angle when printing monochrome documents and printing

    spot colors is 45 - this value is time-tested and provides the best masking of the linear structure of the raster.

    You have to deal with different raster angles almost exclusively when printing with process colors. One reason is that it is simply impossible to apply process inks to a sheet without changing the raster angle - otherwise the color dots corresponding to the base colors will be printed on top of each other.

    The angles of inclination of the rasters for the basic colors are selected in such a way that all points are visible - without this, the colors will not be able to visually mix inside the human eye, forming the desired color. Ultimately, the raster angles must be such that the dots of the base colors are grouped in the form of rosettes (see the top left image in Figure 17.14). Each such rosette can be thought of as a certain meta-point of a color raster, forming a color in a given image volume.

    The top right image in Fig. Figure 17.14 illustrates another reason why such significant attention must be paid to the angles of inclination of the base color screens when printing with process colors. If these angles are not consistent, moire appears on the image - dirty waves. Moire is a common defect in color reproduction.

    Users who have just started learning Photoshop have many questions. This is normal and quite understandable, because there are nuances that those who want to achieve simply cannot do without knowing. high quality their works in Photoshop.

    These undoubtedly important nuances include the rasterization of images. Don’t let the new term scare you – as you read this article, you will easily understand everything.

    First of all, let's understand that there are two types digital images: vector and raster.
    Vector images consist of simple geometric elements - triangles, circles, squares, diamonds, etc. All simple elements in a vector image have their own basic key parameters. These include, for example, the length and width, as well as the thickness of the border lines.

    WITH raster images everything is much simpler: they represent many points that we used to call pixels.

    How and why to rasterize an image

    Now that there are no questions about the types of images, we can move on to the most important thing - the rasterization process.

    Rasterizing an image means turning a picture that consists of geometric elements into one that consists of pixel dots. Any graphic editor similar to Photoshop allows you to rasterize a picture if it supports working with vector images.

    I must say that vector images– very comfortable material, because they are very easy to edit and resize.

    But at the same time, vector images have a significant drawback: they cannot be used with filters and many drawing tools. Therefore, so that you can use the entire arsenal of tools in your work graphic editor, vector images must be rasterized.

    Rasterization is a quick and completely uncomplicated process. You need to select the layer you are going to work with in the lower right Photoshop window.

    Then right-click on this layer and select the item in the menu that appears "Rasterize".

    After this, another menu will appear in which you can select any item we need. For example, smart object, text, fill, shape etc.

    Actually, that's all! It is no longer a secret to you what types of images are divided into, why and how they need to be rasterized. Good luck in your creativity and learning the secrets of working in Photoshop!

    In this tutorial we'll learn how to easily create ghost text using Photoshop CS5. This lesson can be performed in other versions of the program. Filters will play a major role in the lesson.
    Let's begin!

    Step 1. Rasterize the text

    To begin, create in Photoshop new document with black background. On a new layer, write white text using the tool Horizontal text(Horizontal Type Tool). I chose the bold Arial font for my work.

    On at this stage we got the following layer scheme:

    Make sure you are on the text layer (the active layer is highlighted in blue).
    From the menu bar (at the top of the screen), select Layer>Rasterize>Text(Layer > Rasterize > Type).

    Rasterization of text is necessary for further work, so that we can apply various filters to the inscription. There are no changes to the layer scheme, but we now see the text layer as a simple pixel image.

    Step 2. Create copies of the layer

    At this stage we need to create three copies of the bitmap text. The easiest way to do this is to use a hotkey combination Ctrl+J(Win) / Command + J (Mac). Or right-click on the text layer and use the command " in the submenu Duplicate Layer" (Layer via Copy).

    The copy will automatically be placed above the original layer:

    Do the same thing two more times. When finished, you should have four text layers:

    Step 3

    Click on the original layer with the text to make it active.

    Step 4: Use the Motion Blur filter

    At the top of the screen, go to Filter>Blur>Motion blur(Filte > Blur > Motion Blur).

    Once done, you will be taken to the filter dialog box. Let's start by adding a vertical blur to the text. Change the blur angle to 90° and then start dragging the "slider" Bias" (Distance) (at the bottom of the dialog box) to the right to increase the degree of blur. You can see the result of your changes in the filter preview window. In my case, I settled on a displacement value of 150 pixels. Your value may be different , since the final result depends on the initial canvas size and text.

    When you're done, click OK to close the dialog box and apply the filter.

    Step 5

    Click on the copy layer above the original text layer to make the first copy layer active.

    Step 6: Reuse the Motion Blur Filter

    Press the key combination Ctrl +Alt+F(Win) / Command + Option + F (Mac), this quick way go to the last filter that was applied (in our case this is the filter Motion blur(Motion Blur)). After clicking this combination in Photoshop, the filter dialog box will reopen. This time we'll add horizontal motion blur by changing the angle to 0°. I left the value for the “Distance” parameter the same, as in the version with vertical blur.

    You can of course change the value for "Offset" to your liking. When you are satisfied with the result, click "Ok" to apply the filter.

    Step 7. Merging layers

    Hold down the key Shift and select the two layers with blurry letters. Then press the key combination Ctrl+E or use the item Merge Layers(Merge Down) by right-clicking and selecting this item in the submenu. This will merge the two layers into one.

    After merging the layers, you will be left with three text layers in your palette.

    Step 8: Apply the Gaussian Blur filter

    The edges of the blurred text look too sharp, so let's apply a different type of blur to soften them. Go to Filter > Blur > Gaussian Blur(Filter > Blur > Gaussian Blur).

    The filter dialog box opens. Drag the slider to the right, setting the blur value to a low value. In my example, a value of 2 pixels is sufficient; yours can be larger or smaller. When selecting a value, focus on the preview window. The effect should be very slight - the edges should become a little softer.

    To apply the filter, click "Ok". At this stage your text looks like this:

    Step 9

    Now let's move on to the next layer, which is located above the merged blurred text layer ("Copy 2").

    Step 10

    Click Ctrl + Alt + F(Win) / Command + Option + F (Mac) on your keyboard. This will once again re-open the dialog box for the last filter you used (this time the Gaussian Blur filter).
    We'll use this filter again to create a glow effect around the letters. Drag the Radius value slider to the right (increase the value) until a glow appears around the unblurred letters. In my case, a value of 8 pixels was enough.

    Click "OK". As a result, you should get the effect soft light around the text.

    Step 11

    Let's move on to the layer with the third copy of the text. We will leave this layer unchanged.

    Step 12

    Repeat step No. 7 and merge two layers - “Copy 2” and “Copy 3” ( Layer > Merge Layers(Layer > Merge Down)). This way your layers palette will consist of three layers: a background layer and two text layers.

    Step 13

    Stand on the top text layer and click on the icon "Add Layer Mask"(Layer Mask).

    Near the main layer you will have an additional thumbnail, which indicates that the layer mask has been added.

    Step 14

    In the toolbar, activate the tool Gradient(Gradient Tool) by clicking on the corresponding icon.

    Step 15: Use a black and white gradient

    Press the " button on your keyboard D", in order to set the default colors (black and white). Right-click anywhere in the document to quickly go to the gradient selection palette. From the list presented, select a black and white gradient. When the selection is made, press the key Enter. The Gradient Picker will be closed.

    Step 16

    Now let's set the gradient type. This is very easy to do by clicking on the " icon in the palette Mirror Gradient" (“Reflected Gradient”).

    Step 17

    The gradient type is selected. To use it, stand on the layer mask. Then click on the center of the text on the canvas to set the starting point for the gradient. Hold down the key Shift and drag the gradient line up to the beginning of the text. Hold down a key Shift makes it easier to draw a straight line.

    Release your mouse button at the top of the text, at which point Photoshop will draw a reflected gradient on the layer mask, leaving only the middle of the text fully visible while the rest of the letters fade out towards the top and bottom of the canvas.

    Almost all beginners cannot master Photoshop because they are intimidated by working with layers in Photoshop. They don't understand her.

    But everything here is quite easy - you just need to know basic rules and actions.

    I promise you that you will understand them and begin to put them into practice! And so - let's get to work!

    Let's look at all the steps using the example of creating a video screensaver.
    In addition to creating a video intro, we will learn:

    • how to move layers in photoshop
    • how to rasterize a layer in photoshop
    • how to create a new layer in photoshop
    • how to copy a layer in photoshop

    For a more visual understanding of this, at first glance, complex topic, I created a video where I discuss in detail all the above-mentioned features of working with layers in the process of creating a video screensaver. If it’s easier for you to perceive video material, go to the end of the article. But I recommend both reading and watching, because then there is a chance that you will easily learn everything that will be posted here.

    How to select a layer in Photoshop. Layers panel

    When you open the Photoshop program (I use Photoshop CS6), on the right toolbar we find the inscription “Layers”:


    We click on it with the left mouse button and we get into the layers panel, in which we will constantly be located when creating any drawing:

    For normal operation, you always need to know which layer you are on. Whichever layer is selected is where you are. The selected layer in the panel is always a different color - mine is blue. If you need to carry out some actions on a certain layer, you first find it in the layers panel, stand on it and click on it with the left mouse button - it is highlighted in color and you can already work with it (see the picture above).

    There are different buttons on the layers panel. We will now learn the most popular ones (I numbered them in red numbers). Thanks to them, we can do different actions with the selected layer.

    How to create a new layer in Photoshop

    Click on the layer inscription on the panel (Fig. 1), go to the selected layer (Fig. 2). If we need to add styles to our layer, click the icon number 1 (the label on the button is fx). A window with styles will appear and we select the one that will improve our fragment of the picture.

    If we need to create a new layer, click on the shape number 2 (in the film I looked at adding a layer with a gradient in great detail). New Layer always appears on top of the selection. I recommend naming the layers.


    If you need the layer to appear below the selected one, press simultaneously the “Ctrl” button on the keyboard and button 2, which is called “Add Layer”.

    How to remove layers

    If you experimented and realized that the layer is unnecessary, you can remove it from the drawing in two ways - click the drawn eye in the panel next to the layer - it will then simply become invisible, or hold down the left mouse button and drag it to the trash can (number 3). The layer will be deleted.

    There are some other nuances of working with text layers, but we will look at them in a separate article.

    Before I start watching the video, I will add small clarification for dummies:
    if you need to transfer a picture from your computer to a Photoshop field, press it with the left mouse button and drag it onto the Photoshop work area (I couldn’t think of this at the time!!!).

    Let's watch the video and see how I work with layers, creating a video screensaver for the same video you are watching:

    I don’t allow you to download the lesson materials - find the pictures yourself on Google with which you want to create a similar composition. The only thing is when searching, add the word - without a background.