Questions tagged [dpi]

DPI stands for Dots Per Inch

Dots per inch (DPI, or dpi) is a measure of spatial printing or video dot density, in particular the number of individual dots that can be placed in a line within the span of 1 inch (2.54 cm).

1209 questions
-1
votes
1 answer

How to make the controls in the form appear with same size and position regardless of DPI of the system?

In my experience, I've noticed that there are 3 types of applications: ones that get along with Windows DPI setting and get scaled correctly. ones that always keep everything at the same pixel position and don't scale anything (this is what I…
J. Middson
  • 31
  • 3
-1
votes
2 answers

Drawables for different screen densities

Is it a good idea to just put a high resolution image resource in the XXHDPI or XHDPI and let android do the up scaling or down scaling according to the device on which the app runs and save time putting different size image in different folders…
rd7773
  • 409
  • 3
  • 13
-1
votes
1 answer

Java - Finding native Bits Per Point

I need to find the Bits Per Point, height, width, and refresh rate of the local machine. I know how to find most of this using java.awt.Toolkit, but the Toolkit.getScreenResolution returns a value in Dots-Per-Inch. I can't just retool the (fairly…
CJK
  • 118
  • 8
-1
votes
2 answers

Does increasing the number pixels in an image by resizing tools produce a better quality image?

After read this article: PPI vs. DPI: what’s the difference? There's this sentence: Does it makes an image better quality by increasing its X and Y pixels? If I resize an image(A) by doubling its X and Y pixels and save it as a new image(B),…
Aaron Shen
  • 8,124
  • 10
  • 44
  • 86
-1
votes
2 answers

Density: Game looks the same on every screen-size

i'm having a little trouble with my android app and different screen sizes. I want my game to look the same on every screen but i uses static px-values to fit it on my phone (HTC one m7, 1080x1920, 468 dpi). The Code for the Header looks like…
user2798381
  • 21
  • 1
  • 6
-1
votes
2 answers

Smartphone density screen

I am trying to build an application for Android. I have a problem to understand the screen density. According to this: LDPI: Low density, ~120 dots per inch MDPI: Medium density, ~160 dots per inch TVDPI: Medium High density, ~213 dots per…
LiTTle
  • 1,811
  • 1
  • 20
  • 37
-1
votes
1 answer

What Dpi should I selecte for scale 1.75?

I have a device which has scale equal 1.75. Now I want to choose value resource for it and don't know which dpi I should select hdpi or xhdpi. My device is sony xperia j: screen size = 480*854, scale = 1.75, inch = 4.0
Misagh Aghakhani
  • 1,023
  • 2
  • 13
  • 29
-1
votes
1 answer

C code works standalone. But when UVM test calls C DPI, c variables gets messed up

I am using Synopsis VCS compiler. My testbench is coded in UVM. I have a set of C routines that perform some standalone functions. I am calling these C routines through DPI imports in the UVM environment. Here is the code snippet in a simple…
-1
votes
1 answer

Image does not fit in my android avd?

Well I am using these setting for the android emulator resolution - 480x800 Abstracted LCD density - 320 Max VM application heap size - 48 Device ram size - 512 and my images size is exactly the same as…
Muhammad Irfan
  • 1,447
  • 4
  • 26
  • 56
-1
votes
1 answer

Increase DPI in photoshop

I'm totally new to photoshop and I need to do something I don't really know how. I got a picture with 100 dpi. We want that picture to be printed on a poster. I need to increase that 100 dpi to 300 dpi. In photoshop, I went to Image/Image size. I…
Shadowizoo
  • 147
  • 1
  • 2
  • 17
-1
votes
1 answer

How can I set my window to cover exactly the virtual screen area?

I can get the virtual screen size from System.Windows.SystemParameters, but since WPF doesn't work in pixels but in DPI-units I can't directly use this. How do I make my WPF window (Border=none) cover exactly the entire virtual screen ?
Pygmy
  • 1,268
  • 17
  • 33
-2
votes
1 answer

How can I prevent any and all DPI scaling at all times regardless of monitor for my WPF app?

I have a WPF app that I want to look the same at all times on all DPI scaling settings on any monitor. By this I mean that the app should have the same size in real physical pixels as it has when scaling is set to 100%, at all times. Currently, the…
user1969903
  • 810
  • 13
  • 26
-2
votes
1 answer

Android UI onto TV - Looks Terrible

hoping someone can guide me here I've got an app that looks nice on the phone, but we need to be able to connect and mirror the phone to a TV. I have the adapters and cables and I can hook the phone to the TV and all of that part works. but when…
Ed Kuhner
  • 369
  • 1
  • 2
  • 11
-2
votes
1 answer

How to get DPI device to PCL in Xamarin. Forms? - Followup

Using Xamarin Forms Visual Studio 2019. I need to get the DPI of the device. This post has a solution: How to get DPI device to PCL in Xamarin. Forms? Implementing the solution gave problems: When applying the answer above I get this error…
-2
votes
2 answers

How fix bug in delphi 7 with scale dpi?

Please help fix bug in delphi 7 with scale dpi. In this sample, I use TButton with Anchor:=[akRight] and as you can see button text overflow if window setting 125 dpi scale mode. I prepared example for demonstration: 1) Default scale 2) Large…
Melbis
  • 87
  • 10
1 2 3
80
81