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
41
votes
9 answers

C++ overload resolution

Given the following example, why do I have to explicitly use the statement b->A::DoSomething() rather than just b->DoSomething()? Shouldn't the compiler's overload resolution figure out which method I'm talking about? I'm using Microsoft VS 2005.…
Abe
  • 413
  • 1
  • 5
  • 7
41
votes
6 answers

What is the resolution of an image in ImageNet dataset?

Does anyone know the resolution of an image in the ImageNet dataset? I'm sorry, but I couldn't find it on their website or in any of the papers.
Shiqing Fan
  • 688
  • 2
  • 8
  • 14
39
votes
3 answers

C# Method Resolution, long vs int

class foo { public void bar(int i) { ... }; public void bar(long i) { ... }; } foo.bar(10); I would expect this code to give me some error, or at least an warning, but not so... What version of bar() is called, and why?
Vegar
  • 12,828
  • 16
  • 85
  • 151
38
votes
5 answers

Hide div if screen is smaller than a certain width

I want to hide a floating div if the user screen is < 1024px as it will overlay with my blog content area. I found this jQuery on the net but I am not sure how to use it. $(document).ready(function() { if ((screen.width>1024)) { // if screen…
dzul
  • 391
  • 1
  • 4
  • 6
37
votes
4 answers

Android: Canvas.drawText() text size on different screen resolutions

For my Android game I have some calls to Canvas.drawText(). For testing, I use the standard font size which seems to be working fine. However, when I bump up the resolution to a higher density, the larger images are automatically loaded but the text…
twig
  • 4,034
  • 5
  • 37
  • 47
37
votes
4 answers

How to find Intent source in Android?

Possible Duplicate: Android: How to get the sender of an Intent? Is there a way in android to find the source activity which fires a INTENT (in the destination activity)? The scenario is I have two activities A and B. Both fire an intent to call…
Akh
  • 5,961
  • 14
  • 53
  • 82
36
votes
6 answers

Programmatically get screen size in Mac OS X

I am able to return the screen size using: - (void) getScreenResolution { NSArray *screenArray = [NSScreen screens]; NSScreen *mainScreen = [NSScreen mainScreen]; unsigned screenCount = [screenArray count]; unsigned index = 0; …
WrightsCS
  • 50,551
  • 22
  • 134
  • 186
36
votes
6 answers

How to change the resolution of a raster layer in R

I have several high resolution raster layers in R that I am working with. The level of detail is excessive for some of the analyses I am running, so I would like to speed things up by reducing the resolution. The coordinate system is UTM so the…
NRP
  • 503
  • 1
  • 4
  • 6
36
votes
11 answers

og:image Open Graph Warnings image size

I check my url because facebook don't use the image that I set on og:image url fb check My image is: 639x649px 486kb But fb use this picture: 300x443px 97kb The warning said: og:image should be larger: Provided og:image is not big enough.…
user1721620
  • 505
  • 1
  • 6
  • 13
35
votes
7 answers

How do you compare DateTime objects using a specified tolerance in C#?

By default C# compares DateTime objects to the 100ns tick. However, my database returns DateTime values to the nearest millisecond. What's the best way to compare two DateTime objects in C# using a specified tolerance? Edit: I'm dealing with a…
dthrasher
  • 40,656
  • 34
  • 113
  • 139
34
votes
5 answers

CamcorderProfile.QUALITY_HIGH resolution produces green flickering video

I haven't found any explanation for this so far. Basically I have a video recording class which works splendidly when setVideoSize() is set to 720 x 480 on my Samsung Galaxy S2. I want it to record in the highest possible resolution so using…
William Stewart
  • 841
  • 1
  • 14
  • 27
33
votes
7 answers

Python OpenCV access webcam maximum resolution

I am trying to acquire images from my webcam using a python code that imports OpenCV. The code is the following: import sys sys.path.append("C:\\opencv\\build\\python\\2.7") import cv2 import cv2.cv as cv import time # Set resolution cap =…
Ste
  • 339
  • 1
  • 3
  • 3
32
votes
8 answers

Is there a standard webpage resolution for mobile phones?

Most designers use 1024x768 as a baseline for website development. That allows them to use css grid systems like 960 & blueprint to easily outline content. Is there similar baseline resolution for designing for mobile phones? The majority of users…
Jim Geurts
  • 20,189
  • 23
  • 95
  • 116
31
votes
5 answers

jQuery Screen Resolution Height Adjustment

In order to better balance out a page I am working on I would like to find a way to increase the top margin of a DIV depending on the screen resolution. What is my best way to set these dimensions with jQuery or Javascript?
Brad Birdsall
  • 1,753
  • 3
  • 23
  • 27
30
votes
3 answers

What resolution should my Android splash screens be?

I'm creating a splash screen that will display while my Android application loads. I'd like to create it at the correct size so Android won't auto-scale it up or down to fit the screen. (It's a bitmap image, a photograph of an oil painting, so I…
Dan Fabulich
  • 37,506
  • 41
  • 139
  • 175