Questions tagged [resolutions]

33 questions
52
votes
15 answers

Increasing camera capture resolution in OpenCV

In my C/C++ program, I'm using OpenCV to capture images from my webcam. The camera (Logitech QuickCam IM) can capture at resolutions 320x240, 640x480 and 1280x960. But, for some strange reason, OpenCV gives me images of resolution 320x240 only.…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
39
votes
3 answers

Find Number and resolution to all monitors

How would one poll windows to see what monitors are attached and what resolution they are running at?
Crash893
  • 11,428
  • 21
  • 88
  • 123
27
votes
2 answers

Is possible use drawable-mdpi-fr, drawable-hdpi-fr, drawable-ldpi-fr, for localization with different resolutions

I want to use different images for different localisations. However, I have images for all resolutions and for all languages. Is there any way to do this?
Pedro Silva
  • 323
  • 1
  • 3
  • 9
6
votes
3 answers

Scale Images in Different Resolutions XML

I have created 4 resolution folders and put the appropriate image sizes into each as seen in the picture below: I have also created 8 different layout folders for various screen sizes as seen in the picture below: As you can see in the picture…
Shane
  • 972
  • 2
  • 12
  • 27
5
votes
4 answers

OpenCV: Get camera resolutions C++

Is there any way in OpenCV to get the list of camera's resolutions?
mariusz-s
  • 1,756
  • 2
  • 13
  • 14
3
votes
2 answers

method of getting valid fullscreen resolutions on OS X in Objective-C or C++?

I'm making a game and I'd like to get a list of valid fullscreen resolutions for the launcher. I can't find any way of doing this for Mac OS X; Like in the system preferences Displays pane. Is it possible?
Hinchy
  • 87
  • 8
2
votes
1 answer

Unity Modify startup screen resolutions

Is it possible to remove some of the resolutions from the Unity startup menu, and if so, how? I want to do this because my game doesn't work on all of the resolutions that unity gives the user access to. For example, on this picture I would want to…
CubeCrafter360
  • 192
  • 1
  • 13
2
votes
1 answer

Android resize buttons for different resolutions scale layout

Is this a good way for all android devices ? I have an imageview as background, and I resize it according to the resolution of the android device. private Bitmap getResizedBitmap() { Bitmap resizedBitmap; Bitmap…
user2248097
  • 21
  • 1
  • 3
2
votes
1 answer

Picking the right layout naming scheme for different devices

After reading though the document here, I'm still a little confused by how I should be using the naming scheme to correctly set layouts for different devices. I specifically need layouts for the Galaxy S3, Nexus 7 and Asus Transformer. I am current…
Chuck Finley
  • 295
  • 1
  • 4
  • 12
1
vote
1 answer

Is it possible to get the maximum supported resolution of a connected display in os x from java?

Assume java 1.6 and leopard. Ideally, it would also be nice to get a list of all supported resolutions and the current resolution. If this isn't possible in java, is there some way to do it that could be called from java?
Paul Wicks
  • 62,960
  • 55
  • 119
  • 146
1
vote
2 answers

Size of background images to support all medium and large android screens

I'm writing an app and I want one of my activities to have a background, I've read the android docs about supporting multiple resolutions etc, but my designer is asking me what size the wallpapers should be and I do not want a lot of images for…
Mervin
  • 1,103
  • 4
  • 18
  • 26
1
vote
0 answers

Spritekit multiple device resolution detection

I have backgrounds for iPhone 4s, 5, 6, 6plus, iPad, iPad retina. My question is how to distinguish them from each other since many are retina(@2x). Can I use the same filename for the background and add @2x, @3x? It seems to pick up the wrong…
Eric Means
  • 123
  • 1
  • 10
1
vote
0 answers

How to take screenshot all preview layout on eclipse?

I'm android developer. My question is how to take screenshot all preview layout on eclipse. I means we can see the preview all screens using graphical layout on eclipse. Then, how to save images these screens separately for device…
Hyogij
  • 11
  • 2
1
vote
1 answer

Need CSS Help - Position DIV absolutely (off center) horizontally across multiple resolutions

hoping for some help in position DIV's correctly across multiple resolutions. If you visit my test site at http://test.vtisvc.com, What I basically need is for the red "menu" links to fit properly in the white bar. They are at an appropriate height…
proxlars
  • 35
  • 7
1
vote
2 answers

Android: How to support multiple screen resolutions when using SurfaceView

I've got a problem when supporting different Devices and their screens: I have game where I draw a lot of 70px*70px icons in a grid. The .png File is 70*70 @ 315ppi. In my java code I now draw the images to a grid with the following code: for (int x…
Heisenbug
  • 154
  • 2
  • 14
1
2 3