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

8 bit PictureBox Display Resolution

I want to create a 8 bit pixel image. I used to draw the image in a picture box. Bitmap b = new Bitmap(8,8); Graphics g = Graphics.FromImage(b); PictureBox8Bit.Image = b; So, that code supposed to create an 8 bit pixel image. When i output the…
0
votes
2 answers

ImageButton automatic scaling issue

I'm trying to troubleshoot my code for a small form factor device and the ImageButtons I'm using in my RelativeLayout seem to get automatically scaled larger somehow. I've tried various methods of preventing them from scaling, but none of them have…
Carnivoris
  • 793
  • 3
  • 7
  • 23
0
votes
0 answers

calculate upscaled image resolution in javascript

I have an image with height=75pixels and width=75pixels (75x75). I want to calculate what the resolution for this image would be in different resolutions [480p (640x480), 720p (1280x720), and 1080p (1920x1080)] while still keeping the image's…
Martin
  • 1,336
  • 4
  • 32
  • 69
0
votes
0 answers

WIndows 10 timeBeginPeriod(1) not always working

I've an application that requires timers with 1msec precision. Under windows I call timeBeginPeriod(1) at the begin of main() to ensure 1msec resolution (and timeEndPeriod(1) before program exit). I've some threads that perform periodic activities…
0
votes
1 answer

Tensorflow set_shape function doesn't throw an error with a different shape at runtime

So I loaded some images of resolution 1024x1024 into a list of tensors, and then used the function set_shape to change the shape of every tensor of the list to [128,128,3]: see code example here However, when I call eval() and check the shape of the…
0
votes
0 answers

Get native resolution of video game screenshot

I'm trying to make some sort of "pixel count" program that can detect the native resolution of a screenshot taken in a game. I have tried this using Python by doing the following: # importing the module import PIL from PIL import Image #…
0
votes
1 answer

1px border on image leaves weird white gap on top and right of image

As you can see on the screenshot (and maybe you will be able to reproduce from the code snippet depending on your computer), there is a very annoying white gap that I don't know where is coming from. This is not the issue about the gap at the bottom…
Diego Ponciano
  • 453
  • 5
  • 12
0
votes
1 answer

Gather elements native width and height before adjusting size

Can I gather an image or video's native resolution in jQuery? I'm going to manipulate it's size later on, but need a reference to it's original res. I've seen a few tags such as rootElement.height() but no documentation on it. Thank you!
technopeasant
  • 7,809
  • 31
  • 91
  • 149
0
votes
0 answers

where add cv2.resize to get appropriate resolution?

I have a problem with my code. I don't know where I could put cv.resize() in order to get requirement resolution. I want to change it because the file which I upload is full HD resolution and I want to get smaller resolution. I will be glad of…
Marcin
  • 1
0
votes
1 answer

Converting rectangular pixels to square pixels in R

I'm working with an asc file in R and trying to run it through some GIS processing on a script that was written by someone else. The current chunk of code I'm working on is asc <- (raster(inputRas)) asc.extent <- extent(asc) head <-…
0
votes
0 answers

Raster plots - the higher the resolution, the smaller the text

I need to make some plots with raster and I am currently facing some issues. I would like to save my plots at 1920x1080 resolution. I have noticed that when setting the resolution to this (which is higher than the default), the font is getting…
Ferdi
  • 81
  • 7
0
votes
1 answer

How to change fits images' angular resolution in astropy?

I have two fits image of different wavelength. They have different angular resolution. I want to convolve the higher resolution image to the lower one. I have tried astropy.convolution.convolve and astropy.convolution.Gaussian2DKernel. Resolution is…
lpr
  • 1
  • 3
0
votes
1 answer

resize the image of button background relative to screen resolution in HTML with CSS

I have a button with a image as a background and I would like to resize the image size depending on screen resolution. For the images, I use width:100%, but in this case, if I use it for the button, the button size adjust to the screen resolution,…
fernando
  • 89
  • 1
  • 15
0
votes
2 answers

Canvas in HTML to fit monitor screen with Javascript not working as I still see scrollbars for X and Y

I'm trying to create a program with HMTL, just to create a canvas and draw in the canvas with Javascript. I need the program to run in a computer and in the tablet, so i want the canvas to adjust to the side of the monitor. I thought it would be…
fernando
  • 89
  • 1
  • 15
0
votes
1 answer

Measuring sizes of before/after images in Photoshop

Perhaps my mind isn't mathematically competent enough to do this, but here it goes: I am using Photoshop. I have 2 images taken from different heights. Both images have the same object in it (so the size of this object remains the same) but I am…
OneAdamTwelve
  • 236
  • 1
  • 3
  • 14