Menu
Is free
registration
home  /  Advice/ How to invert an image in photoshop combination. Color inversion in Adobe Photoshop

How to invert an image in photoshop combination. Color inversion in Adobe Photoshop

Have a good Saturday afternoon, everyone, my dear friends, readers and comrades. I remembered here, at a time when I was just studying Photoshop, then at first I was poking around in that place on my own. And I came across the tool "Wonderful wand", thanks to which it was possible to strongly select objects.

Yes, only I did not succeed with this selection and I did not realize what I was doing wrong. I selected areas of the background for it, and later tried to transfer the object I needed to another tab. Yeah, of course.

Instead, my background part moved, and my subject stood rooted to the spot. Then I just didn’t know what inversion is in Photoshop, and even the fact that through it it is possible to simplify some moments.

What is inversion in essence? This is a change in a property in a completely opposite direction. for example, if we do an inversion of colors in a photo, then we take a negative. What if we select an object and invert the selection, then everything will be selected, except for the object. Is the essence clear?

Despite the fact that let's better see with a live example how to make an inversion in Photoshop ...

Color inversion

This definition refers to the replacement of brightness and color with opposite values. It was white, but it will become dark, etc. We have already used this property, at the time when I told you how to make a drawing from a photo in Photoshop, so you have the opportunity to look at it as an example of application.

At one point in that place it was necessary to invert the colors, but at this moment we will refresh the national memory and find in memory how it is done, which is why the cute hedgehog.

There are no subtleties here. You just need to select the item "Image" - "Correction" - "Inversion" in the top menu. Or you press the key combination Ctrl + I.

This is also easier and I really advise you to use the warm keys.

We observe what the domestic photo has become. Cool, isn't it? White background became dark, and the domestic prickly friend himself became negative (well, in the sense of not evil, but ... well, you realized).

How do I invert a selection?

Well, this function has to be used easily and invariably, especially when selecting objects using a sweeping mask or a wonderful wand. This can be useful to us at a time when we want to transfer some element to the second image, or change the background for this element, and a bunch of other things.

  1. Let's select some image and select it, for example, using the sweeping mask mode. Select this mode, then brush, after which start painting over the domestic hedgehog.
  2. So, now let's remove the mask. What do we see here? And we see that it was not the hedgehog that stood out, but the background near him, and if we try to move the thorny animal somewhere, it will come out with us ay-ay-ay how bad it is. They will swear at us that we are trying to drag the wrong thing, since the area is selected, not the object. This area will only be able to move.
  3. And now we need to invert the selection in order to transfer it not to the area near the animal, but to the hedgehog itself. This is easy to do. In the menu, select "Selection" - "Inversion", or press the key combination SHIFT + CTRL + I.
  4. Oops. What do we see now? The fact that the dotted line has changed and now he is running around the hedgehog. Well, then we can already pick up the "Move" tool and move this object as we wish. Mission accomplished.

If at the end of this article you still have any misunderstandings, then I recorded a detailed video tutorial on this topic.

I hope that the topic was more than clear for you. Well, if you want to learn Photoshop in a short time, then I advise you to watch this course. Here everything is laid out on the shelves from simple to complex, and the main thing is that everything is clear and accessible.

POST SCRIPTUM

Dear friends. I have a little ad for you. I believe that you do not forget how I said about how I plan to go to training on social projects from Dmitry Sidas and Alexander Borisov?

So if you are still thinking, then in a hurry, because since 11.07, i.e. the day after tomorrow the price for both trainings increases.

If at the moment the Content Project Wizard costs 16,990 rubles before the result, then the day after tomorrow the price rises to 33,980 rubles! In addition, the master of social projects rises from 12,990 rubles to 25,980 rubles. So we think. In addition, if you decide, then I have small bonuses for you, including a discount on tuition.

Well, I say goodbye to you for today. Remember to subscribe to my blog updates and share the article with friends on social networks. Good luck and see you in other articles.

Bye Bye.

Best regards, Dmitry Kostin.

How to change the color of an object to white or dark in Photoshop


The most interesting results selected according to your interests:

    Good day to all! How is your mood? Getting ready for the second holidays? I am. the next day we go to Yaroslavl until May 9, as I said….

    Good day to all, my readers and dear friends of my blog. Quite often I look at some paintings with inscriptions and realize that ...

    I welcome everyone, my dear friends. It has been raining at different intervals for the last seven days. So it was not clear what to wear, ...

    Hello everyone! With you, as in most cases, I am, Dmitry Kostin. And now we are going to Photoshop again. Do not forget, as we did from color photography ...

    Have a great time of days, my readers and dear friends. You understand? So you walk past various stalls or bookstores, and you see a bunch of ...

    Hello dear visitors and my readers of the koskomp.ru blog. Dmitry Kostin is with you again. I remember how I came across a photograph of a car that ...

Good Saturday, everyone, my dear friends, comrades and readers. I remembered here, when I was just studying Photoshop, then at first I was poking around there on my own. And I stumbled upon a tool "Magic wand", with which it was possible to coolly select objects.

Yes, only I did not succeed with this selection and I did not understand what I was doing wrong. I selected areas of the background for her, and then tried to transfer the object I needed to another tab. Yeah, of course. Instead, my background part moved, and my subject stood rooted to the spot. Then I just did not know what inversion is in Photoshop, and the fact that it can be used to simplify some points.

What is inversion in essence? This is a change in a property in the completely opposite direction. for example, if we do an inversion of the colors in a photo, we get a negative. And if we select an object and invert the selection, then everything will be selected except for the object. Is the essence clear? Although let's better look at a live example of how to make an inversion in Photoshop ...

Color inversion

This definition refers to the replacement of color and brightness with opposite values. Was white, and will become black, etc. We already applied this property when I told you, so you can see it as an example of use. At one point, it was necessary to invert the colors there, but now we will refresh our memory and remember how this is done, thanks to this cute hedgehog.

There are no subtleties here. You just need to select the item "Image" - "Correction" - "Inversion" in the top menu. Or you can just press the key combination Ctrl + I... It's even easier and I really recommend you use the hotkeys.

Let's see what our photo has become. Cool, isn't it? The white background turned black, and our prickly friend himself became negative (well, in the sense of not evil, but ... well, you get the idea).

How do I invert a selection?

Well, you just have to use this function all the time, especially when selecting objects with a quick mask or a magic wand. We may need this when we want to transfer some element to another image, or for this element, and a bunch of other things.


If after this article you still have any misunderstandings, then I recorded a detailed video tutorial on this topic.

I hope that the topic was more than clear for you. Well, if you want to learn Photoshop in a short time, then I recommend that you watch exactly this course... Here everything is laid out on the shelves from simple to complex, and most importantly, everything is clear and accessible.

POST SCRIPTUM

Dear friends. I have a little announcement for you. I think you remember how I talked about how I am going to go to training on social projects from Dmitry Sidas and Alexander Borisov? So if you are still thinking, then hurry up, since from 07/11/2016, i.e. the day after tomorrow, the price for both trainings is going up.

If now " Content Project Wizard"it costs 16990 rubles before the result, then the day after tomorrow the cost rises to 33980 rubles!" Master of Social Projects"also rises from 12,990 rubles to 25,980 rubles. So we think. Besides, if you decide, then I have small ones for you, including a discount on tuition.

Well, I say goodbye to you for today. Do not forget to subscribe to my blog updates and share the article with your friends. social networks... Good luck and see you in other articles. Bye Bye.

Best regards, Dmitry Kostin.

Program Adobe photoshop positions itself as a leader in the field graphic editors... This is due to the fact that almost all transformations with an image and a photo are included in the application. Another advantage can be considered the fact that there is a really light and uncluttered interface, which attracts more and more newbies to the field of design. The application is capable of working in both vector and raster modes, but a greater bias is made for the latter option. Despite the simple structure of the program, Adobe Photoshop has a very solid foundation. different functions and elements. Speaking of images, it is impossible not to mention the correction by working on pixels, as an example, you can put the inversion of colors.

Inversion types

In "Photoshop" there are two types of inversion. The first type is associated with the selection of an image. The second relates to the distortion of the brightness of colors. They have one general principle- inversion For experienced users it may not be new, but it will obviously be useful for beginners to know the capabilities of this program. Inverting colors will allow you to apply a specific filter for image processing. And inverting the selection of layers will add more options for creating and working on objects.

How to invert colors in Photoshop

A great opportunity test this function - put it into practice. Images with a vivid color palette are best suited for this, so keep in mind that black and white graphics are not quite suitable for this operation. Let's say that the user already has an image open in the program, now let's figure out how to make the inversion of colors.

  1. Let's imagine that the user needs to invert the image, for this he needs to combine all the layers into one common one. This can be done in the Layers panel by clicking on the "Merge Visibles" item.
  2. Now the user has to go to the "Image" section at the top of the program. Select the "Correction" section and find the "Invert" item in it.

Inversion of colors is carried out through the values ​​of brightness (256 units). For example, the area where the brightness is 206 will change after applying the operation to a value of 50. This action occurs with each area of ​​the image, as if the image was changed to inverse colors.

Inverted layer

You can select an area in the image different ways... To do this, there are many different tools that differ in their functionality. You can select a selection method conditionally, from a rectangular area to a very complex geometric design. In either case, you can apply an inversion to the selection. This function located in the "Selection" section, item "Inversion".

It is based on the mutual redirection of the selected object and the layer as a whole. The selected object and the layer are swapped - now the layer becomes selected, and the previously selected object is unselected. Now the layer without the object can be edited: delete, copy; and the object itself will remain unchanged.

It is also worth noting that you can invert colors in a separate area of ​​the image. To do this, you need to create a separate layer, into which you should transfer the desired part of the image using mutual selection and copying layers into one common one. It will be interesting to observe how the inverted part of the image and its original visually look.

Hotkeys

In Adobe Photoshop, a special place is occupied by functions that can be reproduced using keyboard shortcuts. For example, in order not to bother with the opening of all tabs, you can use the Ctrl + I keyset. After using the hot keys, the image will look inverted in brightness.

Above, a method was described where the user could invert a separate part of the image by transferring all layers to one. This method takes a long time to implement, so you can simply select an area in the image using tools that have direct purpose to highlight. Then press the Ctrl + I keys, and the selected area will be transformed into an inverted layer.

If you remember about the inversion of the selection, then this function can also be activated. But first, you need to set the initial selection with any of the possible tools, and then use the Shift + Ctrl + I key combination to invert the selected areas.

Some people who work in Adobe program Photoshop, learn all its subtleties through hands-on familiarization with the product. Others are faced with questions that they find it difficult to answer on their own. One of the frequently asked questions is how to invert a selection in Photoshop. The problem is relevant because some objects are really difficult to select. It is much easier to do this with an adjacent object and then move on to a complex image.

How to invert a selection in Photoshop

As mentioned earlier, in some situations it is easier to select a simple object and then a complex part of the image using inversion. It is used to remove unnecessary elements or duplicate a complex object.

To do this, you need to go through a few simple steps:

  1. Using any tool, you need to select a simple object that is adjacent to a more complex object. If the user decided to make a selection using the Pen tool, then the created contour should be formed into the selected area.
  2. Next, you need to go to the "Selection" section at the top, in the program header. Find and select the "Inversion" item. We can watch how the selection of one object is transferred to another.
  3. Depending on what the user wants, you can delete, copy, move and perform other actions on the new selection.

Using keyboard shortcuts

For the convenience of using some functions, the developers have added hotkey settings. V specific case you should not go through the "Selection" section, along the way choosing the "Inversion" item, but simply apply the hot keys. You can invert the selection in Photoshop using the keyboard shortcut Ctrl + I. The selection will turn to another part of the image, after which you can continue editing with the new selected object.

Selection in Photoshop is a tool that allows you to work not with the entire image as a whole, but only with its part, limited by the selection frame. Due to the fact that the tool is extremely important for the designer, the developers of Photoshop made sure that the selection could be made different ways... By combining them, you can select an object of any configuration and complexity. This article will cover only the most basic selection methods in Photoshop. How to create selections using the Magic Wand, Lasso, Pen, and also from layers - you will learn about all this from special articles devoted to the listed methods.

Making a selection

To create the simplest selection in Photoshop, the appropriate tool is selected, which is called a rectangular area. When you first start the program, this tool is selected by default. After you have activated the Rectangular Marquee tool, you can draw a selection frame. This is done in much the same way as selecting a group of icons in a folder in the explorer operating system: starts drawing the frame at the top-left corner and ends at the bottom-right corner. You place the cursor at any point in the image, hold down left button mouse, move the cursor to another point in the image, and then when the size of the selection frame suits you, release the mouse button. And here is the simplest rectangular selection in front of you:

If you repeat this operation, then a new selection will be created.

Selection transformation

In order to change the size of an already created selection, select the menu item Selection - Transform Selection:

Anchor points will appear along the perimeter of the frame, dragging them, you can deform the selection:

In the selection transformation mode, you can also rotate it. To do this, in the options panel, you need to write the required angle in the following field:

When the transformation is finished, you need to press Ctrl + Enter. In order to move the selection, you just need to move the cursor to any point within the area limited by the selection. The cursor image will change and a miniature selection frame will appear below it. This means that you can start the process of dragging the frame. In this way, the selection can be dragged not only to normal mode but also in transform mode. In order to deselect the selection, press the key combination Ctrl + D. To make a strictly square selection, you need to hold down the Shift key while creating a selection.

Any selection can be filled with color or gradient. The process is no different from the cases that were described in the article about filling in Photoshop.

Example 1. Traffic signs

1. Create a new image in Photoshop. Dimensions 300x300 pixels. The background is white. Fill the image with # c0c0c0 color. This, by the way, is the background color in Photoshop. We want the background to contrast with other parts of the white image.

2. Use the guides to find the center of the image:

How exactly to do this is described in the previous article.

3. Select the rectangular selection tool and create a new selection with dimensions 160x160 pixels:

In order to control the size of the resulting selection, look at their values ​​on the palette Info.

4. Switch to the selection transformation mode:

Move the selection so that its center coincides with the center of the image. Once this happens, the center crosshair will turn orange at the tips:

For ease of movement, enlarge the image by pressing Alt + mouse wheel. You can return 100% scale by pressing Alt + Ctrl + 0.

5. Rotate the selection 45 degrees and confirm the changes by pressing Ctrl + Enter. After that fill the selection with white and deselect it with the keyboard shortcut Ctrl + D. Here's what you get:

6. In the same way create a selection with dimensions 150x150 and also place it in the center of the image:

7. Rotate it 45 degrees and fill it with black:

8. Create a new selection with dimensions 140x140, place it in the center, rotate it 45 degrees and fill it with white:

9. Create the last square in the same way. Its dimensions are 100x100, and the color is # d3d300.

10. That's it, the sign is almost ready, it remains only to hide the guides. Press the combination Ctrl + F - and everything will be ready already finally. The final result should be like this:

Now let's make a sign "No entry". This time I will not describe everything in such detail, because I think you get the basic principle. So.

1. Create a new 300x300 image with a white background and fill it with # c0c0c0. Find the center of the image.

2. Select the oval selection tool, which is in the drop-down list below the rectangular selection:

Hold down the Shift key and draw a 180x180 selection. Then place it in the center of the image and fill it with white:

3. Draw another 170x170 circle and fill it with # b72d13:

4. Create a rectangular selection with dimensions 120x35 and place it in the center of the image:

5. Fill the selection with white. Deselect and hide the guides. And here we have a ready-made sign:

Invert selection

In Photoshop, selections can be inverted. The essence of the inversion is as follows. Any selection in Photoshop divides the image into two parts: the selected fragment and the unselected one. Moreover, all tools will act only on the selected fragment. So, inversion allows you to swap these two complementary fragments in one click: an unselected fragment will become selected and vice versa.

In order to invert the selection, press the key combination Ctrl + Shift + I, or select the menu item Selection - Inversion:

Example 2. Focusing on an object

In this example, let's create a composition like this:

Those. an image that has the effect of focusing on a specific object. In this case, they are the guards of the Louvre. So download the original image and we'll get started.

Create a 100x100 circular selection and place it around the guards:

Here we need to transform not the selection, but the entire fragment enclosed in it. For this:

2. Press the key combination Ctrl + T to switch to the transformation mode of the selection. Hold down the Shift key and drag the lower-right corner of the transform rectangle. Watch the resizing in the Info panel. As soon as they become 170x170, release the Shift key and the mouse button:

3. Press Ctrl + Enter to exit transformation mode. Then drag the selection so that the entrance to the Louvre looks coherent:

4. Invert the selection by pressing Ctrl + Shift + I. Select the Paint Bucket Tool, set the Opacity to 32 in the Options Bar. Set the Foreground Color to # 0047ab and fill the selection. Now the selection can be removed and our image is ready.

Specified sizes and proportions

In general, in Photoshop, you can preset the size of the selection, be it at least rectangular or elliptical. Forgive me for not telling you this earlier. The only reason I didn't do this is because being able to create selections by hand is also very important for a novice designer. Well, setting the size of the selection is easy. To do this, you need to change the selection style to next line option panels:

By default, the style is set to normal. Next to this line you can see the fields for entering the width and height, but they are deactivated because the sizes are not set in the normal selection style. We need to change the style to the given size:

In this case, the fields for entering dimensions immediately become active and in the image given as an example, the dimensions themselves are even indicated: 220x95. If you now click at any point in the image, a selection with the specified dimensions will be automatically created, positioned so that the upper left corner of the selection will be at the point of clicking. In the case of an elliptical selection, this is the upper-left corner of the rectangle circumscribed around the ellipse. You can verify this by clicking in the upper left corner of the image when creating an automatic elliptical selection.

In addition to specific sizes in Photoshop, you can set preset proportions to highlight. To do this, you need to select a selection style with the same name.

This style is useful when you don't know exactly what the size of the selection should be, but want to set a specific aspect ratio. For example, when setting the ratio 2: 3, the sides of the selection will always relate to each other as two are to three. This "trick" can be used, for example, when creating rectangles with a golden ratio. This is the 1.618: 1 ratio. This proportion is considered the most harmonious in design.

Example 3. Buttons in Photoshop

In this example, we will create presets for two such buttons:

Let's tackle the first one first. We will make it using a rectangular selection and fill. So...

1. Create a new image with dimensions 300x150 and fill the background with # f0eece color. Find the center of the image:

2. Create a new 120x40 rectangular selection in the Preset size selection style and place it in the center of the image (as usual - in the selection transformation mode).

3. Press Ctrl + Enter and fill the selection with # 9b9b93. After that, the selection can be deselected. We don't need the center guides anymore, so remove them via the menu item View - Remove Guides.

4. Now we need a grid of vertical guides. If your rectangle is located exactly in the center, then this step will not be difficult. Select a menu item View - New Guide and set the following data:

Similarly, create 10 more guides every 12 pixels. Their coordinates are: 102, 114, 126, 138, 150, 162, 174, 186, 198, 210. You should get a grid like this:

To make the guides look more contrasting, change their color. To do this, first press Ctrl + K, and then Ctrl + 6 and, by clicking on the very first square of the color selection, change its value to the desired one. Or you can simply move the circle around the palette, thus choosing the most optimal color.

5. Now we need to make dark diagonal stripes. To do this, create a 5x70 selection and place it in the upper left corner of the rectangle, as shown in the picture:

6. Fill the selection with # 9b9b93:

After that, do not remove the selection! Select the Move tool. Move the cursor over the selection and hold down the Alt key. The cursor will then look like this:. Without releasing the Alt key, hold down the left mouse button and drag the strip to the second anchor point. So you've cloned (copied and pasted) the object. The top-left area of ​​the rectangle should now look like this:

Notice the intersection points of the guides and the top side of the large rectangle. It is through these points that the left sides of the dark stripes pass.

7. By analogy with the previous step, copy a few more strips:

Continue copying until the stripes fill the entire large rectangle:

8. Remove the guides, we won't need them anymore. After that, create a new selection with dimensions 120x40 and position it so that it exactly outlines the boundaries of the large rectangle:

9. Invert the selection and press the del key to delete all unnecessary graphics, and then invert the selection again.

10. We need to fill the background again. To do this, cut out the selected button by pressing the Ctrl + X combination. After that fill the whole image area with # f0eece color. When the background is ready, paste the cut rectangle back with Ctrl + V:

Once you do this, the Layers palette looks like this:

Pay particular attention to the fact that the rectangle is in layer 2 and this layer must be selected. And also the button shown by the arrow, we will need it in the next - last step.

11. In fact, there is already a blank. It remains to apply the volumetric effect. To do this, click on the button shown in Fig. above, and in the list that appears, select Embossing... Do not change any parameters in the window that opens and click OK. Here's what you should get:

And this is the final version of the preparation. On which we will draw an arrow after studying the material on autoshapes. So save it in psd format and don't lose it. In the meantime, let's get down to the second workpiece. With her, everything will be much easier.

1. In fact, all the first steps here are almost the same as with the previous button. Those. Create a new 300x150 image and fill it with # c0c0c0 color. Create center guides to define the center. Make a 120x40 rectangular selection, which we align to the center of the image:

2. Now we need to fill this image with a gradient. So pick the Gradient Tool and go straight to the Gradient Editor. Set the starting color to # e7e7e7 and the ending color to #aeaeae. Now fill this selection with a gradient from top to bottom. Don't deselect! Here's what you should get:

3. Now we need to make the rectangle in a separate layer: only then can we apply the embossing effect to our workpiece. To do this, press Ctrl + X and Ctrl + V in sequence. By inserting a fragment, Photoshop will place it on a separate layer, which is exactly what we want.

4. On the layers palette, click on the effects button:

And choose an effect there Embossing... In the window that appears, change the embossing size to 2 px:

After that, remove the guides and we have a second blank:

It will turn into a button after we study the text in Photoshop. Save it in .psd format and don't lose it.

Adding and subtracting selections

To the already created selection in Photoshop, you can add another one. To do this, draw the added selection while holding down the Shift key. In this case, the cursor changes its appearance - a plus sign appears next to it:. Naturally, the added selection must be at least partially outside primary allocation. Otherwise, nothing will happen - the total selection will remain the same as the primary one.

In other words, you need to add a selection correctly as shown in Fig. below:

In this case, the total allocation will be increased compared to the primary one:

If we try to add it like this:

Then this time no changes will happen - after all, the "added area" is already in the selection zone. And, as we understand, you cannot put in the basket what is already in it.

Similarly, you can subtract an area from a previously created selection. To do this, hold down the Alt key. A minus sign appears next to the cursor:. The selection to be subtracted must lie at least partially inside Ctrl + K and Ctrl + 6 and set the following parameters in the grid settings:

After setting these parameters, click OK. As a result, the grid should look like this:

Agree, is it somewhat reminiscent of a notebook sheet?

3. Create a new selection as in the picture:

4. Now in the mode of adding to the selected area, i.e. when pressed Shift key, draw one more cell to the created selection:

Here's what you should get:

From now on, all selections in the example need to be built while holding down the Shift key

5. Draw the rest of the Tetris shapes by analogy with the first. When making an unsuccessful action each time, undo it by pressing Alt + Ctrl + z.

When the shape outlines are ready, hide the grid with the Ctrl + E keyboard shortcut.

6. Fill the resulting selection - and these shapes are all a single selection - with # b8a076:

7. To add variety to the drawing, you can recolor all the shapes in different colors. These are the colors I repainted them with. I dictate from left to right: # ff9900 - orange, # ffd800 - yellow; # 82c341 is green, # 0383fb is blue, # 0000ff is blue, # 9600ff is purple.

We will repaint with a tool Fill... But before using it, set the tolerance on the options panel - 32; smoothing - remove. Everything, then you can safely paint. The result will be like this.