[Image Processing] How to make the background of a picture transparent? How to change the color of the lines in the picture? Online PS software


Preface

We will use PS software to process pictures. If PS is installed, open it and use it directly.

If PS is not installed, you can use the online PS software:
https://www.uupoop.com/#/


1. Open the picture

The first step is to open the image from this entrance.
Example: pandas is a tool based on NumPy that was created to solve data analysis tasks.

Step 2: Open the image, we open an icon of the MySQL database.

Insert image description hereInsert image description here

2. Background transparency processing

1. Right-click the mouse to create a new layer and hide the original layer with your eyes closed.
Insert image description here
2. Select the new layer, menu bar-select-color range-sampled colors or sampled colors-confirm
Insert image description here
3. At this time, dotted lines appear on the elements and background in the picture. Press delete to delete the background.
Insert image description here
In the picture below, the white background has been removed, and the small squares represent transparency.

3. Change the line color

1. Next, we change the line color of the element to red, or select the newly created Layer1 layer, menu bar-select-inverse selection, and the line part in the picture is selected. At this point we also set the foreground color to red first.
Insert image description here
2. Then edit-fill in the menu bar, select the foreground color in the fill color in the pop-up box, and set the opacity to 100% by default, confirm.
Insert image description here
Insert image description here

3. Complete the color modification after confirmation.

Insert image description here


Summarize

Finally, file-export as a picture in png or jpg format.
When applied in the project, the background color is already transparent and the line color has been modified.

Guess you like

Origin blog.csdn.net/qq_38628970/article/details/132855736