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
1 answer

Local Report Rendering Font vs Windows DPI Settings

I have a C# program that uses .NET 2.0 Local Report Rendering to create an SSRS2005 designed PDF. One of my users struggles to read text on 1280 x 1024 resolution, so instead of lowering her resolution, she changed her DPI settings to 125%. When the…
Riegardt Steyn
  • 5,431
  • 2
  • 34
  • 49
0
votes
1 answer

Android Changing densityDPI in java

Dose any one know how to change the densityDpi for an android app in java? I'm working on an android application where i manipulate the target density in the viewpoint tag. This is causing a minor problem in some place of the apps, the target…
R T
  • 195
  • 9
0
votes
0 answers

Flex Mobile Sizing & Positioning With DPI Changes

Ok, I'm building a Flex Mobile project right now for iOS. It is a prototype video player using an ANE (Native Extension). The video player will be used later on in a much larger project. Now, the issue I am having is sizing and positioning, and I…
Josh
  • 8,079
  • 3
  • 24
  • 49
0
votes
2 answers

Resolution for different densities in Android OpenGL ES app

I am developing a game for Android using OpenGL ES, and until now I've using only the folder drawable-hdpi for the textures. My biggest textures are 1024x512. Which resolutions should I use for folders mdpi and ldpi? Or should I leave just 1 folder?
WaLi
  • 93
  • 12
0
votes
2 answers

Android. xhdpi folder

So, you can add 3 types of images inside individual folders, drawable-ldpi, -mdpi and -hdpi, from which Android picks the proper image depending on each specific device. My question is, what about xhdpi? The large screens out there. I'm guessing…
AndreiBogdan
  • 10,858
  • 13
  • 58
  • 106
0
votes
1 answer

Positioning Bitmaps on different screens

I know there are numerous other threads about this. I've been checking through them with no avail for the past 2 days and right now it's driving me nuts. So basically I have a spritesheet, which I load into a Bitmap, cut the frames apart, perform…
0
votes
1 answer

Android Bitmaps always saved with 72dpi

I'm making bitmap (that will be printed on paper, later) and using canvas to draw on it. But after saving it always have 72 dpi resolution. I tried to use bitmap.setDensity(96);but it does not seems to work. This is how I make bitmap and save it,…
Sver
  • 3,349
  • 6
  • 32
  • 53
0
votes
1 answer

Changing numpy array using dpi value

I have an numpy array which I save to a image using savefig(). Then I read it in my code and the image is multiplied bigger than my original aray as dpi while saving is 100. Is it possible to use dpi to make the image size larger and get it in a…
shobhit
  • 89
  • 2
  • 8
0
votes
1 answer

Change dpi settings via registry programmatically?

I've designed a project containing of some forms. The problem is that it doesn't display correctly on wide monitors. I've searched for it and found out that it works correctly for dpi= 96. I wanna change dpi via registry in vb.net (not…
butterfly
  • 93
  • 5
  • 13
0
votes
2 answers

php detect dpi of image in a pdf

I've tried a few tests using Imagick::getImageResolution on a PDF, and I can't figure out how to get the resolution (and colourspace) of an image embedded in a PDF. I've tried ripping the image out of the PDF, but during that process it seems the…
Jakob Jingleheimer
  • 30,952
  • 27
  • 76
  • 126
0
votes
1 answer

How to set Dots Per Square Inch (DPI) for PNG in Java?

Let me start off with I have no code and I have no idea what I am suppose to do. Apparently the information is stored in the meta data of the .png file. I figure this should not be so hard to do, but it is turning out to be a challenge. The only…
Zeveso
  • 1,274
  • 3
  • 21
  • 41
0
votes
1 answer

How to determine the maximum scale according to Image resolution

Actually I want to scale Image used in iPhone to iPad. I have one Image of resolution 300 dpi. Its size is 320 * 127. Maximum how much can I scale this Image so that It will not blur ? As I am stuck with the relation between resolution of an Image…
Arpit B Parekh
  • 1,932
  • 5
  • 36
  • 57
0
votes
2 answers

dpi for downloadable images

its simple my doubt. The app have 4 directories(ldpi, mdpi, hdpi, xhdpi) with same images but different dpi . For mdpi is 160dpi, the one im using atm. What happens with the images i download from the web? i have a news reader and that means each…
pata
  • 959
  • 2
  • 18
  • 35
0
votes
2 answers

Usage of Dp in Android

I have an issue regarding usage of "dp". In which context dp can be used? Is it just used for any controls i.e ImageView and TextView, or it can be used for adjusting layouts as well. For adjusting layouts I'am currently specifying width and height…
sankettt
  • 2,387
  • 4
  • 23
  • 31
0
votes
1 answer

dpi on activities and on XML

Why dp used in the XML files are not the same as dp used in activities? When I create a textView in the XML file with 20dp of width, its size will be the same in all different type of screens, but when I use this: int sizeInDip = 20; int width=…
anonymous
  • 1,320
  • 5
  • 21
  • 37