Questions tagged [ppi]

Pixels per inch (PPI) is a measurement of the pixel density (resolution) defined as the number of horizontal or vertical pixel found in an inch.

Pixels per inch (PPI) is a measurement of the pixel density (resolution) of devices in various contexts: typically computer displays, image scanners, and digital camera image sensors. It is defined as the horizontal or vertical density (for square pixels) as those are the same but the density on along the diagonal is lower.

Resources

92 questions
0
votes
1 answer

ppi for Windows 7 phone and tablets

I am fairly new at windows 7 graphics creation. My understanding is that all Windows phone 7 and Windows tablet graphics should be created at 96 ppi, not 72 like iPhone and android. Is this correct? The sample graphics from windows and also another…
0
votes
1 answer

Mobile Pixel Density: multiple image size or serve everyone the high-res image?

I'm looking at how to make images look good on android and iphone devices with high pixel density, and I keep running across two ways to do it - one is to have separate stylesheets that serve up bigger images for hdpi phones, and scales down in the…
Tami
  • 3,221
  • 2
  • 18
  • 15
0
votes
2 answers

How to adjust to the aspect ratio for mobile browser

I'm testing a webpage on Chrome desktop, adjusted to simulate mobile display, and I cannot figure out how to adjust the aspect ratio. It seems like the width is reflecting a 946px width and 1743px height, when it should be much smaller, reflecting…
bignore59
  • 167
  • 1
  • 2
  • 8
0
votes
1 answer

Should image DPI be 72pixels/inch in 2018?

Some DPI stats first: Mack Book Pro 13.3" has 227 DPI(2560x1600px/13.3 inches). iPhone 6s has 326 DPI(750x1334px/4.7 inches). Sony Xperia Z tablet has 224 DPI(1920x1200px/10.10 inches). However when I save JPEG image for web it has 72 DPI and the…
Dmytro Plekhotkin
  • 1,965
  • 2
  • 23
  • 47
0
votes
0 answers

Gimp: Increasing resolution doesn't shrink image?

I'm so done with this topic ... resolution, pixels, inches, ppi, dpi and all that stuff. I never find a source of explanation which puts me in a state of not-wondering-anymore. Once I have reached that state I'll write a blog post myself. So, first…
user3182532
  • 1,097
  • 5
  • 22
  • 37
0
votes
1 answer

How to simulate real world dimensions in css?

I want to make a website, where an object which has for example a width of 100mm, is displayed with that width no matter what resolution the monitor or smartphone has. For that reason I'm asking the user for his display dimensions to calculate the…
Codan
  • 21
  • 3
0
votes
1 answer

How Does Image Previes in IOS determine resolution of an image?

I am under the impression that JPEGs cannot store resolution/DPI/density information. How is it possible that iOS Image Preview is able to provide resolution per image attached? The reason I ask is that I need to alter the resolution to a specific…
andre
  • 1,660
  • 3
  • 19
  • 31
0
votes
2 answers

Why does my android emulator, and my android phone give me different results for a devices density and DPI?

On my Lg G stylo h634, it has a resolution of (720*1280) w/ a size of 5.7 inches and a real PPI of 258. With this information this phone should have: DP width: 240 DP height: 240 Density: 1.5 Density PPI: 240 However when i run my test on this real…
whompum
  • 69
  • 2
  • 12
0
votes
1 answer

How can I set DPI/PPI through an GD resize?

I found solutions here and here using Imagick but I really do not want go though Imagick extension due security issues. Currently, I'm doing the resize as follow: list($width, $height) = getimagesize($file_path); $src =…
Lucas
  • 1,514
  • 3
  • 16
  • 23
0
votes
1 answer

Compare lengths from two different android phones

I am working on a Computer Vision problem that detects and compares the real length of an object and does something accordingly. I have done a lot of work on detection and it seems good enough at this stage but am stuck now due to this problem: If I…
Abhyudai
  • 826
  • 7
  • 16
0
votes
0 answers

screenresolution, imageresolution and ppi

Samsung Galaxy s6 has a screen density of 577 ppi which maps to xxhdpi - xxxhdpi Screen resolution: 1440 X 2560 Samsung Galaxy S3 has a screen density of 306 ppi which maps to xhdpi Screen resolution: 720 X 1280 My app with a lot of scenic images…
java
  • 1,165
  • 1
  • 25
  • 50
0
votes
1 answer

PPI diagonal resolution

Can someone explain me clearly, why do we, when we count PPI (diagonal resolution/diagonal length) say that it is diagonal resolution? There are no diagonal pixels, it's just a length measured in pixels, but there aren't…
Dereexk
  • 1
  • 1
0
votes
0 answers

draw 1 cm line on any screen resolution

I want to draw exact 2cm line in javascript, I have already drawn it by using below calculations. Screen resolution is 1366 x 768 LCD diagonal 18.5 i have calculated ppi also ppi = (1366*1366 + 768*768) / 18.5 = 85 ppi also pixels per cm = 85 /…
Tayyab Hussain
  • 1,658
  • 1
  • 18
  • 21
0
votes
0 answers

How to get the PPI value in an AIR for iOS app?

How to get the PPI (pixels per inch) value of an iPhone 6+ from an Air based iOS app? I tried Capabilities.screenDPI but it returns the wrong value, 326 PPI instead of 401 PPI.
Tom
  • 5,588
  • 20
  • 77
  • 129
0
votes
0 answers

Image resolutions for iPhone games using sprite kit

I have started making iPhone games and need to know what resolution to make the images (sprites) in the game. As for now I have been making my images on paint and they are 72 ppi by default. However, I am aware that the iPhone 6 Plus has a ppi of…
BCRwar1
  • 189
  • 5
  • 21