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
0 answers

How to create seperate values folder for Samsung Galaxy note plus and Google Pixel XL3 in Android Studio

I am creating to show virtual card swipe view for left to right and right to left. so, am trying to give common width & height(xxxhdpi-values dimen.xml) for below mentioned mobiles in Android UI part. Samsung Galaxy note plus 6.8 inch, 1440*3040 ,…
harikrishnan
  • 1,985
  • 4
  • 32
  • 63
1
vote
1 answer

Why is there two different functions GetDpiForSystem and GetDpiForWindow in WinApi?

Could anyone give some examples when window DPI can differ from system one? Maybe users can somehow specify from outside an application in which DPI it should run. Or maybe it's something else.
Oleksa
  • 635
  • 5
  • 15
1
vote
1 answer

How to correctly use TGridPanel when display PPI scaling is active?

I have written a small test VCL application with a monitor PPI of 96. The application has a TGridPanel on it with a absolute pixel sized column. On that column I placed a TComboBox and aligned it alClient. Here is the DFM code: object Form1: TForm1 …
Jens Mühlenhoff
  • 14,565
  • 6
  • 56
  • 113
1
vote
1 answer

Master list of high PPI mobile screens and how to detect/handle it via CSS?

The iPhone 4's Retina display is double the density of of the iPhone 3, but Apple handled it fairly nicely but just making an assumption and doubling the pixels when rendering (so that your web page looks the same physical size on each device). You…
DA.
  • 39,848
  • 49
  • 150
  • 213
1
vote
1 answer

Multiple networks integrated into one network in Cytoscape

I have a list of genes (let’s call it L), and I want to see how they work differently in 3 different species (human, zebrafish and cod). Of course, the 3 species don’t have all the genes in the list, besides, the interactions between genes are…
Xiaokang
  • 331
  • 1
  • 11
1
vote
0 answers

Why do images have a ppi value?

When a file describes an image it should work somewhat like this: color value of the pixel in the upper left corner = whatever. next: the color of the second pixel = whatever. and so on. so that in the end I have a description of say 1000x1000…
user3182532
  • 1,097
  • 5
  • 22
  • 37
1
vote
0 answers

How to find PPI in python, for a image without right properties?

I installed pillow in python and used the module in the definition. I tried doing this: pil_image = Image.open(url) cvs=str('L,W:') + str(pil_image.size)+str('H,V:') + str(pil_image.info['dpi']) Some images don't have information in the properties,…
user16301
  • 11
  • 5
1
vote
0 answers

Know image PPI in javascript or php to calculate printing dimensions of an image

I'm doing an e-shop por a printing house, and they want to let people upload images in jpg and calculate the size in cm of the image to know how much to charge the costumers. I know the math to do de calculation would be (height or width in pixels)…
Leia
  • 357
  • 3
  • 17
1
vote
1 answer

show a exactly Height of text in a TextField

I have to program a see test for an optician. So they need that the Numbers are exactly have a specific height. He has a IPad ans streams it to a TV. I know i must consider the PPI of the TV. Here is my Code : func calcPoints() -> Float { // he…
Aionix
  • 13
  • 3
1
vote
1 answer

pixels to dp convertor based on ppi

I am converting px to dp for given graphics. Going through docs I noticed that 1dp = 3px for 480ppi screen(xxhdpi). I am testing it on Redmi Note3 which has approx 403 ppi. I have been provided margins in pixels by my designer. Should I convert…
androider
  • 982
  • 6
  • 16
  • 32
1
vote
1 answer

How to plot Motifs in igraph?

I use igraph package to get motifs in Protein-Protein interaction network, It has a vector output, But I need plot or draw of motifs, figure of motifs. code in R: motifs(graph_object, size = 3) output: 1 NA NA 5 3 How to I get plot of motifs…
Saeed Rahmani
  • 650
  • 1
  • 8
  • 29
1
vote
1 answer

Understanding points and the user space in Cocoa Drawing as they interact with screen resolution

Cocoa drawing sizes (widths & heights) are specified in points which are defined as follows in the OS X Cocoa Drawing Guide documentation: "A single point is equivalent to 1/72 of an inch" I understand from this that a point is a physical…
Sam
  • 2,745
  • 3
  • 20
  • 42
1
vote
0 answers

use ppi to get logical resolution

I am trying to emulate the Samsung Galaxy Tab S 10.5 , and I have no idea what the screen resolution is to create an emulator. This model seems to be left off any list I found. Full Spec & Details…
Jon
  • 6,437
  • 8
  • 43
  • 63
1
vote
1 answer

Increase PPI on BufferedImage

Is it possible to control the PPI (I want to increase it) on a BufferedImage? I use ImageIO.write to write the BufferedImage to a ByteArrayOutputStream.
per_jansson
  • 2,103
  • 4
  • 29
  • 46
1
vote
1 answer

PPI + Server2go

I am having a problem getting PPI framework to run on Server2go. How do you use a port? for example 172.0.0.1:4001 in the datasource.config.php of PPI.