Use Photoshop to determine where a picture starts

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

When you study a web-making friend, you will often see the following picture when you are learning from someone else's Web page:

  

Figure I

The image above is a web designer who concentrates a picture of a page on a single image, then, according to the needs of the content of the page to fetch a picture of an icon, then how to determine a position on this picture, with Photoshop easy to determine, of course, master may have a better simple way, but I use this method , let's start by saying how to do it:

First, using Photoshop to open the above picture, we can see the size of the picture is: height is 288 pixels, width is 108 pixels. Knowing his size, we can press CTRL + A to select all (see figure two on the left), then click on the menu bar-selection-transform selection (see figure two right).

  

Figure II

Second, we click on this icon below the menu bar

, select the azimuth point to the lower-right corner so that we see the four parameters of X, Y, W, H. respectively: 108.0px, 288.0px, 100%, 100%, this is the entire picture of the parameters, the following we have to do is to determine the parameters of a certain place, see figure Four, we determine the arrow pointing to the position of the icon, with the mouse drag the following small box, has been moved to the top of that icon,

  

We see the four parameters x, Y, W, H. are: 108.0px, 145.0px, 100%, 50.3%, then this is the parameters we need, that is, we want to the beginning of the icon, there is a number of pixels, there are percentages, in the production of Web pages, you can use the pixel, the percentage is OK, hehe.

  

We can try again and drag the small box on the right to see how the four parameters change

  

We see the four parameters x, Y, W, H. respectively: 70.0px, 145.0px, 64.8%, 50.3%, is not very simple to get the starting position? The next step is to apply the picture to the Web page.

Because the writing is too poor, there is no understanding of the place, you can leave a message ...

This article welcomes reproduced, reproduced please indicate the Source: Webmaster Learning Network-www.zxx6.com.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.