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
1
vote
3 answers

iPhone Screen Resolution. 160 vs 163 vs. the future

I'm trying to make an app that displays something in real-world units. It's not a ruler app, but it wants that kind of precision. It already looks like the iPhone and iPod touch have different screen resolutions (160 & 163 respectively) I've found…
1
vote
1 answer

Identify HighDefinition devices

How can I identify a device that does has a HD-Screen such the Asus HD? I did some research and find some parameters on which i'm trying to calculate that. Where the first info is from GSM arena (size and ppi) and the DisplayMetrics collected from…
Marcos Vasconcelos
  • 18,136
  • 30
  • 106
  • 167
1
vote
0 answers

Mobile device physical screen size plugin (ppi)

I can't remember where, but I saw a JavaScript library, that had it's own database of few dozen tablet/phone devices with PPI (pixels per inch) density. When your device was recognized it returned it's PPI density like this: device: Nexus 4 ppi:…
vlgalik
  • 477
  • 2
  • 6
  • 25
1
vote
1 answer

Cocoa Point vs Pixel and PPI

Well, I have basically two questions regarding screen resolution in iOS devices. 1) In iOS documentation, on the Point vs Pixels section, it states the coordinates are passed in to framework as points, and that "One point does not necessarily…
Felipe Lira
  • 310
  • 1
  • 4
  • 17
1
vote
3 answers

objective c iPhone UIImage converted to PNG PPI/DPI too high

I'm generating an UIImage as such: //scale UIView size to match underlying UIImage size float scaleFactor = 10.0 UIGraphicsBeginImageContextWithOptions(self.bounds.size, self.opaque, scaleFactor); [self.layer…
PleaseHelp
  • 315
  • 1
  • 2
  • 15
1
vote
1 answer

ppi packet parsing pcap

I've some trouble parsing packets in PPI frame format. I need the 802.11+mac+phy field, after the common field it seems i have a mistake in the offset. Here is my code: void process_packet(u_char *args, const struct pcap_pkthdr *header, const u_char…
Cravid
  • 653
  • 2
  • 7
  • 22
1
vote
2 answers

What is the formula to determine if a screen is retina resolution?

If the iPhone and iPad are both retina display, where retina display means resolution sharp enough to be indistinguishable to the human eye, is there a way to tell if other tablets are retina display quality? Is there a formula? For example, to be…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
1
vote
1 answer

Mobile media query, resolution and ppi simulator?

Are there any sorts of desktop tools or browser plugins that are able to simulate various mobile and tablet devices in order to properly test responsive designs? And I'm not just talking about changing the browser window size. Other items would need…
Jake Wilson
  • 88,616
  • 93
  • 252
  • 370
0
votes
1 answer

Very strange ppi of png

I have some png files, and their ppi were 300. Now I've change the ppi to 72, but the size of the pictures even became larger! For example, a.png was 190k, 300ppi, now it becomes 400+k, 72ppi, and it is always 320*460, what's happening, how should I…
Wang Liang
  • 941
  • 2
  • 15
  • 34
0
votes
0 answers

Reducing the pixels-per-inch (PPI) of an image results in same file size

Summary I'm attempting to use ImageMagick to produce copies of an image with a range different pixel densities to increase the user-experience of my front-end projects. Problem After running the script, the respective PPI is successfully converted…
0
votes
0 answers

Relation between PPI and Resolution

The Redmi Note 8 Pro has a screen height of 6.53 inch and 395 ppi. The total pixels along height is 2580 but the max resolution is 2340 *1080. What about the extra 240 pixels (2580-2340)? I did research on this but couldn't find a answer
0
votes
0 answers

Retrieving PPI from byte[] or file directly

I read How to get the dpi of an image(Java) and found two ways: iterate over IIOMetadata Node list and calculate xDpi; another alternative is to use org.apache.sanselan lib, which seems outdated, unsupported and obtaining known CVE's. Any reasonable…
tarmogoyf
  • 298
  • 3
  • 17
0
votes
1 answer

Is there any way to rectify stringApp communication error despite newer versions of STRING App and Cytoscape installed?

I am working on Cytoscape 3.9.1 and have stringApp 2.0.0 installed in my system. Today, I tried importing 72 genes to String (both by web and in Cytoscape software). STRING App web says stringApp communication error. Confirm that you have installed…
0
votes
0 answers

Can all new printers handle 300dpi?

I am writing software in C# that will generate profiles for clients, including images. Clients will print these profiles but it is very important that these profiles be printed in 300dpi. Can all new printers (including lower-cost printers) handle…
CharlieT
  • 373
  • 4
  • 26
0
votes
0 answers

How do I calculate the PPI of an image for a print area of known size?

I have read this answer several time over the course of several weeks and its a good crash course in the relevant topics, and some of the learnings are applicable to my use case but I am not concerned with displays or physical device screen size. In…
humbledev7000
  • 275
  • 1
  • 4
  • 8