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

How to let lower dpi devices to download only their pictures with downloading application?

I'm making application with task of recognizing pictures. I have many (about 1000) pictures and all of those 1000 pictures are made specially for ldpi, mdpi, hdpi, xhdpi and xxhdpi devices, so actually I have like 5000 pictures. It's not problem to…
Tommz
  • 3,393
  • 7
  • 32
  • 44
0
votes
1 answer

Correct image drawable folder for Galaxy tab

My Android application is not loading the correct graphic images when running on a Galaxy tab 1.0. They look blurry and slightly pixelated. My guess is that it is loading the images from the mdpi folder, because the device density is 1.0, but they…
Gustavo Pagani
  • 6,583
  • 5
  • 40
  • 71
0
votes
1 answer

How to set different height in dpi to different devices

Is it possible to set different height while creating bitmap based on device. I mean to say that for phones i want to set different height to the bitmap & for tablets i want to set different height. Right now the height and width of the bitmap is…
Rahul
  • 1,667
  • 6
  • 21
  • 38
0
votes
1 answer

layout folder names for large screens

I have a question about layout folders . What is the difference between layout-xxhdpi and layout-sw720 ? Are they the same ? Or is sw720 used for tablets specifically and the xxhdpi is for every device ?
mremremre1
  • 1,036
  • 3
  • 16
  • 34
0
votes
1 answer

Need to know the standard/general resolution for Android designs?

I need to know the standard/general resolution for all android designs, Currently i choose 72 dpi but on android developer blog, they have something that confusing me (Baseline) mdpi: 1.0 { 320x480 (~160dpi) } 100%. xhdpi: 2.0 { 640x960 (~320dpi)}…
0
votes
1 answer

convert any uploaded image in 72 DPI

In my application i m using upload image functionality and i want to convert uploaded image in 72 DPI if image is with more or less DPI. can we do it with using cgimagecreate Please suggest me. Thanks.
Nikunj
  • 987
  • 11
  • 25
0
votes
0 answers

How to scale a layout containing text on every device to fill the screen

In theory, if I consider the smallest resolution possible for an android device (the one with 160 pixel of height), I can program an application that will scale perfectly on every device with bigger resolutions by specifying the dimensions of every…
Kami
  • 1,079
  • 2
  • 13
  • 28
0
votes
0 answers

Optimize DPI aware application for custom DPI settings

I'm writing a DPI aware application. It is currently compatible with 100%, 125%, 150% and 200% scaling. However if I use a custom setting of 130% for example, it takes the code of 200% instead of 125%. Is it possible to optimize my application with…
CCCP
  • 215
  • 3
  • 14
0
votes
2 answers

Force Winform program to run at 96dpi?

I currently have a winform application that relies relatively heavily on reading mouse click points. It's a video application that allows the user to click on incoming video feed from a webcam and draw lines on it and do other things. The important…
C Smith
  • 778
  • 2
  • 14
  • 31
0
votes
1 answer

IEEE requirments for images

According to http://www.ieee.org/documents/graphicsfaq.pdf The minimum resolution required for images are 300dpi or 600dpi , and i have a large problem understanding this , because they have an online checker tool (http://graphicsqc.ieee.org/) that…
Omar shaaban
  • 257
  • 3
  • 19
0
votes
1 answer

How to remove TableLayout padding in ldpi layout

I am putting two images in a row, its goes well on hdpi and mdpi, but I try to open it in ldpi , the layout just get disturbed by unknown padding (dont know what it is) Correct image in hdpi and mdpi (how it should be…
UsmanAzam
  • 539
  • 4
  • 15
0
votes
1 answer

Is it possible to set the DPI of an application programatically?

Is it possible to set the DPI of an application programmatically or the DPI only possible to set through the system preference? Note: My application's GUI is coded in MFC and .NET forms. Update: After some research I have found no way of doing this…
Yngve Hammersland
  • 1,634
  • 2
  • 14
  • 28
0
votes
1 answer

Dropzonejs issue with resolution of an image

I have an issue with dropezonejs. Apparently, when an image has a resolution more than 72dpi, the thumbnail is not generated and everything stop here. You can try by yourself in the dropzonejs website by uploading different kinds of images. (images…
benc
  • 19
  • 5
0
votes
4 answers

Supporting Multiple Screens for hundreds of icons

In my application I have to use hundreds of bitmap icons and we want to support multiple screen. And through the documents at android developer, it seems that it is the only way to create these icons for different devices with different dpi. If this…
hguser
  • 35,079
  • 54
  • 159
  • 293
0
votes
1 answer

How to draw in DP (Android)

I understand what dp is.... but How do I know how many pixels on my computer is to one DP? Also is there a program that I could use to work in DP when drawing? All I am looking to do is basically design an app icon right now but I can't seem to find…
Scott Miller
  • 23
  • 2
  • 6