Top "Dpi" questions

DPI stands for Dots Per Inch

Converting pixels to dp

I have created my application with the height and width given in pixels for a Pantech device whose resolution is 480…

android pixel resolution dpi
getting the screen density programmatically in android?

How to get the screen density programmatically in android? I mean: How to find the screen dpi of the current …

android dpi screen-density
Load dimension value from res/values/dimension.xml from source code

I'd like to load the value as it is. I have two dimension.xml files, one in /res/values/dimension.…

android android-resources dpi dimension
How to change resolution (DPI) of an image?

I have a JPEG picture with a DPI of 72. I want to change 72 dpi to 300 dpi. How could I change …

c# .net image dpi
Pixel to Centimeter?

I just want to know if the pixel unit is something that doesn't change, and if we can convert from …

pixel measurement dpi
Creating a DPI-Aware Application

I have a form application in C#. When I change the monitor's DPI, all the controls move. I used the …

c# winforms dpi dpi-aware
How to get Windows Display settings?

There is setting for Display in Windows 7 (Control Panel -> Display). It allows to change the size of the …

c# windows dpi
What's the correct size icon for drawable-xxhdpi?

As we know, the correct sized icon: * drawable-ldpi (120 dpi, Low density screen) - 36px x 36px * drawable-mdpi (160 dpi, Medium density …

android drawable dpi android-icons
What dpi resolution is used for an iPhone App?

I am working on a template for an iPhone App and was wondering what dpi resolution is used for it ? 300 …

ios iphone user-interface ipad dpi
How to write WinForms code that auto-scales to system font and dpi settings?

Intro: There's a lot of comments out there that say "WinForms doesn't auto-scale to DPI/font settings well; switch to …

c# .net winforms fonts dpi