search
HomeWeb Front-endPS TutorialThe first part of the series on the skillful use of photoshop for front-end engineer skills - Preparation

Previous words

Photoshop is a software that front-end engineers cannot avoid. The software itself is very powerful, but we only need to use this tool to complete basic cutting work. This article will start the first article in the series of photoshop skills - preparation

Function

Why should we cut the picture? This requires talking about the project process. A complete project process involves market demand analysis, product prototypes, UI design drawings based on the project prototypes, front-end production pages based on the design drawings, back-end data-related work, and website testing before going online.

What we often call cutting is actually cutting the UI design into the materials needed for the web page. Specifically, where on the web page do you need materials? Mainly includes two categories:

 【1】<img src="/static/imghwm/default1.png" data-src="img/xx.jpg" class="lazy" alt="The first part of the series on the skillful use of photoshop for front-end engineer skills - Preparation" > tag in HTML

<img  src="/static/imghwm/default1.png" data-src="img/xx.jpg" class="lazy" alt="The first part of the series on the skillful use of photoshop for front-end engineer skills - Preparation" >

 【2】Background-image in CSS Attribute

{background-image: url(../img/xx.jpg);}

Initialization

Front-end engineers need to make some initialization settings before using photoshop, mainly including the following 3

 【1】Preference settings

编辑 > 首选项 > 单位与标尺 > 把标尺和文字的单位都改成像素

 前端工程师技能之photoshop巧用系列第一篇——准备篇  【2】Panel settings (under the window menu )

1. Tools (two-column or single-column layout can be switched)

2. Options (one-to-one correspondence with the currently selected tool)

3. Information

 4. Layer (Layer operation)

 5. History record (record historical operations) , often used for rollback)

 前端工程师技能之photoshop巧用系列第一篇——准备篇  【3】Auxiliary view (under the view menu)

  1. Alignment (After turning on alignment, the layer There will be an automatic adsorption function when moving to another layer or guide line or the edge of the document)

 2. Ruler

 3. Guide line (View> Display> Guides)

  [Note] You need to check Show additional content to see the guides and grid in the canvas

 前端工程师技能之photoshop巧用系列第一篇——准备篇

Common tools

【1】Move tool (commonly used to select layers and move pictures)

In the selection tool The options panel in has two options: layer and group. Group generally refers to a folder that may contain multiple layers, while layer only refers to the layer itself

  [Note] Corresponding to the move tool The automatic selection on the options panel must be checked

 【2】Rectangular Marquee Tool(commonly used to select an area and view information with the information panel)

 If you observe carefully , you will find that there is a small triangle in the lower right corner of the rectangular marquee tool. If you click without releasing the mouse, multiple options will pop up, including rectangular marquee tool, elliptical marquee tool, single row marquee tool and single column marquee tool. .

[Note] If you hold down the shift key while using the rectangular marquee tool, a square will be generated

Generally, using the rectangular marquee tool is to create a new selection, but in practice , you can also perform the following operations on the selection

1. Add to the selection: shift

2. Subtract from the selection: alt

3. Intersect with the selection: shift + alt

 【3】Magic Wand Tool(Cut out irregular images)

  [Note]Tolerance is used to set the range when color sampling, and a tolerance of 0 represents Only select the current color value

【4】Crop Tool + Slice Tool(Crop Picture)

  [Note] The crop tool cuts the work area, no matter how many pictures it is Layers can be cropped

【5】Zoom tool (zoom canvas)

【tips】Commonly used zoom shortcut keys
1. Zoom in:
a , ctrl+plus sign

b.alt+scroll up

2.Zoom out:

a.ctrl+minus

b.alt+scrolldown

3. Display as 100%: ctrl+1

【6】Color Picker + Eyedropper Tool (Color Picking)

1. Fill the foreground color: alt+del

2. Fill the background color: ctrl+del

 3. Switch the foreground color and background color:

 【8】Grapple Tool(Move the visible area)

  The actual shortcut key of the Gripper Tool is the H key. Click the H key, and then click the left mouse button without releasing it. , the image will be displayed on the screen in a form that fits the screen size. When you move the mouse and release the left button, the screen will enlarge the image area where the mouse is located

Shortcut keys

In addition to the above After the shortcut keys mentioned, there are also some commonly used shortcut keys that need to be noted 前端工程师技能之photoshop巧用系列第一篇——准备篇

【1】Single-step undo or forward: ctrl+z

【2】Continuous undo: ctrl +alt+z

 【3】Go back to a certain step: Click the corresponding step

 【4】Deselect: ctrl+d

 【5】 Transform: ctrl+t

 【6】Save: ctrl+shift+alt+s

 【7】Merge layers: ctrl+e

 【8】Stamp See layer: ctrl+shift+alt+e

[Note] For some tools, you need to call the size of the tool. The general shortcut key is left bracket [and right bracket]

More The first article in the series on the skillful use of photoshop for front-end engineer skills - Preparation For related articles, please pay attention to the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How do I use Photoshop for creating social media graphics?How do I use Photoshop for creating social media graphics?Mar 18, 2025 pm 01:41 PM

The article details using Photoshop for social media graphics, covering setup, design tools, and optimization techniques. It emphasizes efficiency and quality in graphic creation.

How do I use Photoshop's Content-Aware Fill and Content-Aware Move tools effectively?How do I use Photoshop's Content-Aware Fill and Content-Aware Move tools effectively?Mar 13, 2025 pm 07:35 PM

Article discusses using Photoshop's Content-Aware Fill and Move tools effectively, offering tips on selecting source areas, avoiding mistakes, and adjusting settings for optimal results.

How do I prepare images for web use in Photoshop (file size, resolution, color space)?How do I prepare images for web use in Photoshop (file size, resolution, color space)?Mar 13, 2025 pm 07:28 PM

Article discusses preparing images for web use in Photoshop, focusing on optimizing file size, resolution, and color space. Main issue is balancing image quality with quick loading times.

How do I use Photoshop's video editing capabilities?How do I use Photoshop's video editing capabilities?Mar 18, 2025 pm 01:37 PM

The article explains how to use Photoshop for video editing, detailing steps to import, edit, and export videos, and highlighting key features like the Timeline panel, video layers, and effects.

How do I calibrate my monitor for accurate color in Photoshop?How do I calibrate my monitor for accurate color in Photoshop?Mar 13, 2025 pm 07:31 PM

Article discusses calibrating monitors for accurate color in Photoshop, tools for calibration, effects of improper calibration, and recalibration frequency. Main issue is ensuring color accuracy.

How do I prepare images for web using Photoshop (optimize file size, resolution)?How do I prepare images for web using Photoshop (optimize file size, resolution)?Mar 18, 2025 pm 01:35 PM

Article discusses optimizing images for web using Photoshop, focusing on file size and resolution. Main issue is balancing quality and load times.

How do I prepare images for print using Photoshop (resolution, color profiles)?How do I prepare images for print using Photoshop (resolution, color profiles)?Mar 18, 2025 pm 01:36 PM

The article guides on preparing images for print in Photoshop, focusing on resolution, color profiles, and sharpness. It argues that 300 PPI and CMYK profiles are essential for quality prints.

How do I create animated GIFs in Photoshop?How do I create animated GIFs in Photoshop?Mar 18, 2025 pm 01:38 PM

Article discusses creating and optimizing animated GIFs in Photoshop, including adding frames to existing GIFs. Main focus is on balancing quality and file size.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),