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

Android: Handling screens that are the same dpi level but different

I have gone through all of the Android docs about handling multiple screen sizes but I still haven't been able to find an answer to this question or how to handle this. If there are two phones that have the same dpi level (such as both being hdpi) I…
user1319155
  • 149
  • 8
0
votes
1 answer

Emulate Samsung Galaxy Apollo

I want to test Samsung Galaxy Apollo on Android SDK emulator. What DPI and heap size I must use?
0
votes
1 answer

abcpdf html image stretching

I'm trying to render a html page with an image in it. I am having an issue that current the size of the image seems to be getting doubled, my image is 304x112 and when it renders to pdf it is 607x224. I did find this Screen resolution is typically…
Daniel Powell
  • 8,143
  • 11
  • 61
  • 108
-1
votes
1 answer

Windows 10 assigned access (kiosk mode) screen scale DPI

I have an Xamarin UWP application created for assigned access (Kiosk mode). Now on a new screen the default scaling is set to 150%, my app is looking good on 100%. Has someone found a way to change the default scaling of the created kiosk…
-1
votes
1 answer

Weird UI scaling in Android Studio Flamingo 2022.2.1 on Ubuntu 22.04

After update to Android Studio Flamingo 2022.2.1 I got wrong scaled interface on my main monitor. On second monitor it looks normally. It seems that there is no scale factor slider in settings of Android Studio. Resolution of my main monitor is…
-1
votes
1 answer

How to export ggplot in R with 3543 pixels in JPEG format?

How to export ggplot with 3543 pixels (meaning: DPI resolution 1000 and 90 mm wide) in JPEG file? I used this code but it does not function in my case: jpeg(file="Traject_1.jpg", res=3543, width=9, pointsize=7, type="windows",…
Oksana
  • 25
  • 4
-1
votes
1 answer

Mouse dpi automation

In a project of mine I am trying to change the speed of the mouse as a requirement is hit. For this to work I either have to change the dpi of the mouse through python, or make python click the little dpi button on the mouse. I believe the latter is…
-1
votes
1 answer

QMenu font size for different DPI for windows

I tried to make a custom QWidgetAction. That works fine. However... on windows with different DPI the font in the menu changes in non-obvious ways. 100% -> pointSize = 8 125% -> pointSize = 9 150% -> pointSize = 9 (so I was not able to fit some…
Kapitan
  • 73
  • 8
-1
votes
1 answer

Set real dimensione of a Chart in Matplotlib

I need to set the dimension of a chart exactly. I tried this, but the result is not what I expected (both if I set px and cm). In addiction, I would like to know how to export correctly the image. import numpy as np plt.rcParams['figure.dpi']=100 …
-1
votes
2 answers

Different Text Size under same screen resolution but different dpi in two Android machines

I have two Android machines - Samsung Galaxy Tab and HTC Flyer. They both have 1024x600 screen. However Tab has 240dpi screen while Flyer has 160dpi according to the log from Context.getResources().getDisplayMetrics() method. My problem is that, I…
Victor Wong
  • 2,486
  • 23
  • 32
-1
votes
1 answer

incorrect program scaling on screen makes it look blurry - fix?

Compiled program (VB NET) looks blurry on screen, apparently because the dpi scaling is done by the OS and not the application. When I change the desktop shortcut's Properties - Compatibility - Change high DPI settings to "Override high DPI scaling…
boshap59
  • 1
  • 2
-1
votes
5 answers

minimum pixels of the largest image's side to fit android xxhdpi screen

I'm making an android App that shows images at full screen. I learned some about dpi and dp, but I didn't find how many pixel must be the largest side of my images (in prospective to good fit also in landscape mode) to appear good in different…
user2342558
  • 5,567
  • 5
  • 33
  • 54
-1
votes
1 answer

Android supporting multiple screens and standardizing UI, dp scale differs on some screens

We are working on an android app, and we have encountered an issue where devices in the same density bucket, i.e. "xxhdpi" do not all look the same, i.e. the Pixel and Pixel 2. We have a very image heavy UI and are using a Constraint view to…
Raj
  • 51
  • 7
-1
votes
1 answer

layouts with different dpi do not work well

in my App I have 2 different layouts for the same layout. normal sw420dp both are the same with just minor fixes for bigger dpi screen however when i launch the emulator with the nexus 5 1920x1080 420 dpi it shows me the "normal" layout rather…
-1
votes
1 answer

what resolution was selected in create new document settings dialog

i created designed a flyer few days back in adobe illustrator cs6 i am not confirmed whether i created it at 72 dpi or 300 dpi how can i check if the document was created at 72dpi or 300dpi. I am not asking about changing image resolution. I am…
vineet
  • 1
  • 2