Questions tagged [resolution]

Questions about image resolution.

Image resolution is an umbrella term that describes the detail an image holds. Higher resolution means more image detail.

Reference

Wikipedia

2378 questions
9
votes
2 answers

How to get 720p Android Camera Preview Data?

I want to use the camera preview for image recognition. For my purposes, I need the preview resolution to be as high as possible (and, at the same time, display the preview to the user). I created a Preview class, extending SurfaceView and set…
Jörn Buitink
  • 2,906
  • 2
  • 22
  • 33
9
votes
3 answers

Titanium handling different resoutions

Simple question, which is the best way to make sure that the app works on different screen resolutions without looking crap? I can't use static values, then it want adjust according to the resolution. Right now i am using relative measurements…
Anton Gildebrand
  • 3,641
  • 12
  • 50
  • 86
9
votes
3 answers

How to change the C++ boost posix_time::ptime's resolution to millisecond?

I'm trying to print a boost::posix_time::ptime in the format of "YYYY-MM-DD hh:mm:ss.fff" where the MM is a 2-digit month and fff a 3-digit millisecond. An example is: 2011-07-14 22:38:40.123. I'm using Boost 1.33.1. I tried to call the API…
yaobin
  • 2,436
  • 5
  • 33
  • 54
9
votes
4 answers

How to capture high resolution image from UIView

I hope you all are safe. I know this question asked several times but not getting a perfect answer. I just wanted to capture an image from UIView with high resolution the main this is that image should not be a blur. I have tried this code extension…
seggy
  • 1,176
  • 2
  • 18
  • 38
9
votes
3 answers

How to determine an active screen (monitor) of my Application (window) using python PyQt5?

I am working on an application which is using many widgets (QGroupBox, QVBoxLayout, QHBoxLayout). Initially it was developed on normal HD monitors. But, recently many of us upgraded to 4K resolution monitors. Now some of the buttons and sliders are…
9
votes
1 answer

Adjust font size to size of plot device

Often I am in a position when I have to adjust the size of the output image. Unfortunately, it means that usually I have to adjust font size, to make things readable. For example, if the following plot…
user10355350
  • 178
  • 2
  • 7
9
votes
3 answers

How to properly scale a game on Android

for the sake of simplicity let's assume that I'm making a simple Pong clone game for Android. Let's assume that it would only be playable in the landscape mode. (ignore square phones for now). I'd like the game to look in the same scale on each…
Axarydax
  • 16,353
  • 21
  • 92
  • 151
9
votes
2 answers

C++ Finding out what resolutions are supported by the graphics card

I am writing a small program to let me switch my resolution back and forth because my projector cannot handle the same resolution as my screen. I already know how to set the screen resolution using the windows API. As well as read the current…
The Dude
  • 310
  • 7
  • 15
9
votes
0 answers

How to FIX Chromium HiDPI Scaling:

Tested On: Ubuntu Gnome 16.04 LTS I had an issues with getting my HiDPI display, 3200x1800, working correctly with Chromium. By default, Chromium supports high resolutions but does not adapt manually. So, I found a work-around to get it to work and…
r00t hkr
  • 109
  • 1
  • 2
  • 5
9
votes
3 answers

Openlayers 3 - What does resolution represent as a style function parameter?

I am trying to use resolution passed into the StyleFunction to work out the size of my image Icons. Using tests, at a zoom where the scale line is 100m the resolution reported to the styling function is 2.3886. I've take screenshots of the scale…
user4773894
9
votes
1 answer

To imread Parula image in Matlab without losing resolution

There is no bijection between RGB and Parula, discussed here. I am thinking how to do well the image processing of files in Parula. This challenge has been developed from this thread about removing black color from ECG images by extending the case…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
9
votes
1 answer

Change OpenCV video file resolution

I'm creating a program in OpenCV (2.4.8) which should read video files and do some calculations on them. For these calculations I don't need the high-res frames, I'm perfectly fine with 640*360 as resolution. In early tests I had my webcam attached…
heisa
  • 834
  • 1
  • 9
  • 17
9
votes
2 answers

Android - Google Play filtering out xxhdpi

I currently have a problem with Google Play filtering and the new density class xxhpdi, which was introduced in API Level 16. My app is splitted into 3 APK files (I know that is not the best practice, but due to a bad planning, I have to do it like…
NiThDi
  • 1,007
  • 1
  • 9
  • 22
9
votes
8 answers

Finding closest larger resolution with nearest aspect ratio in an array of resolutions

I have an array: $resolutions = array( '480x640', '480x800', '640x480', '640x960', '800x1280', '2048x1536' ); I want to retrieve closest larger value with the nearest aspect ratio (same orientation). So, in case of $needle =…
tomsseisums
  • 13,168
  • 19
  • 83
  • 145
9
votes
7 answers

Tool to batch convert android resource bitmaps to different densities

I need to post-release support different display densities on Android During development drawable-hdpi has grown to 160 png (like 20 of them 9 patch) assets I now need to convert all those bitmaps to mdpi, ldpi (layouts and drawables XML are already…
Marek Sebera
  • 39,650
  • 37
  • 158
  • 244