1, open PS, punch a picture, find the menu bar in the "image", click "Image Size";
2, then there will be an edit box to find the resolution;
3, adjust the resolution, originally is 75, I want to tune to 150 to modify the resolution, the pixel and im
The concepts of PX, dip, SP, and DP are vague. I checked it online and found it clearly in theory.
1. PX (pixels): the point on the screen, which is related to the density. The density is high, and the PX size per unit area is large.
2. Dip or DP (pixels unrelated to density ). This is related to the hardware of the device. We recommend that you use this feature to support WVGA, hvga, and qvga 5 hexadec
PS How to view the resolution of the picture and the actual pixel
If you want to process a picture, you need to know its resolution size, suitable for printing. Teach you how to use Photoshop to view the details of a photo.
Steps
1, start the software, open Photoshop
2, the title bar found, there are op
In a pixel image of a certain size, replace the color values of the same color area with other color values, resulting in new images, input data, image size, specified pixel coordinates, and color to be replaced.At first, the team operation was wrong, and when there was only one element in the queue, the team's first pointer was directed to the tail of the team.After the coordinates of the initial position
inch * 160), dpi =
Can reflect the definition of the screen, used to scale the UI
Density (Density)
The pixel value concentration in the Screen. resolution/Screen size can reflect the cell phone density,
Density-independent
DPI (DPR) stands for dots per inch which technically means printer Dots per inch.This parameter actually quantifies the physical resolution and display sharpness of the screen, such as the iphone's DPR 2, which is higher than the average phone.The same images have a very different effect on different phones, especially for Apple devices, because their DPR are rel
750x1334
326
6+
3.06 inches (77.8 mm)
6.22 inches (158.1 mm)
5.5-inch
414x736
@3x
(1242x2208->)1080x1920
401
2 inch (inch)
1 inch = 2.54cm = 25.4mm
3.iphone phone width
The width height (width/height) in the table above is the physical size of the phone, including the display and border.
The following is the width of the iphone4s:
Resolution. If images are an important part of your web page, you need to pay close attention to the scaling in different resolutions, because image scaling may cause blurred and pixel problems.To provide the best visual effects at all resolutions, you need to control the scaling by providing the viewport metadata of the target resolution of your page, CSS or Ja
Related conceptsResolution: The number of pixels across the screen, in order to facilitate the general use of the screen pixel width (number of horizontal pixels) multiplied by the height of the pixel, the shape of 1280x720, and the resolution is 1280x720
official saying is that it is very important to ensure the independence of density. Without it, system controls in your application may display exceptions on screens with the same physical size and different density.
There are two independent Android system help density methods:
1. Use the DP unit.
2. Bitmap resource scaling can lead to blurred bitmaps of pixels. bitmaps of different resolutions can be provided based on the current
first, the basic concept
Dip:density independent pixels, device independent pixels.
DP: Just Dip
PX: pixels
dpi : dots per inch, which is directly the number of pixels in an inch. A common value of 120,160,240. I am generally referred to as pixel density, short density
density : Direct translation of the words seems to be called density. Common values are 1.5, 1.0. Proportional to the standard dpi (160PX/INC)
First, the basic concept
Dip:density independent pixels, device independent pixels.
DP: Just Dip
PX: pixels
dpi : dots per inch, which is directly the number of pixels in an inch. A common value of 120,160,240. I am generally referred to as pixel density, short density
density : Direct translation of the words seems to be called density. Common values are 1.5, 1.0. Proportional to the standard dpi (160PX/INC)
One, commonly used units: relative units mainly: PX, SP, DPabsolute units mainly include: PT, in, MM
Second, the Unit application summary: The general use relative unit, but not absolute unit1, the size of the general use of the SP, the font of this unit can be set according to the user font size and automatic scaling
2, space and other relative distances generally use DP (DIP), with the density changes, the corresponding number of pixels also chang
MediumScreen size and density comparison table: ...Android:smallscreens= "true"Android:normalscreens= "true"Android:largescreens= "true"Android:xlargescreens= "true"Android:anydensity= "true"/>3, scaling of bitmap resourcesWhen scaling a bitmap resource, take full account of the device's height and width, and get the device's height and width code as it runs:
1 2 3 4
WindowManager mwmgrmwmgr = (windowmanager) context.getsystemser
Android.app.activity;import Android.os.bundle;public class Mainactivity extends Activity {@Overrideprotected void onCreate (Bundle savedinstancestate) {super.oncreate ( Savedinstancestate); Setcontentview (R.layout.activity_main); Getscreenparameter.getresolution1 (Mainactivity.this); Getscreenparameter.getresolution2 (Mainactivity.this); Getscreenparameter.getresolution3 (Mainactivity.this);}}usage is very simple, here just print to logcat, we can change according to their own needs, there is
There are more and more Windows Phone devices on the market, and the size and resolution are more and more, especially the WP8.1 era. The people who have done WP development know that application adaptation is actually more simple than Android, one of the important reasons is that Microsoft is claiming that all WP devices will be 2 benchmark resolution to develop
: xdpi and ydpi, which are described as follows:
//The exact physical pixels per inch of the screen in the X/Y dimension.The real physical PPI on the X/y axis of the screen.
Yes! Got it!
To ensure correct resolution, I still use getRealSize to get the screen width and height pixels. Therefore, after modification, the
, wp8.1 uses window to represent the current application form. See windows. UI. XAML. Window.
We use window. bounds to obtain the size of the current window:
// Window Sizevar bounds = Window.Current.Bounds;WindowSize.Text = string.Format("H {0} x W {1}", bounds.Height, bounds.Width);
2. Logical DPI
The number of pixels per logical pixel of the current device. See windows. Graphics. display. displayinform
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.