Questions tagged [image-resolution]

This tag should be used for questions about image resolution.

From the Wikipedia page for Image Resolution:

Image resolution is the detail an image holds. The term applies to raster digital images, film images, and other types of images. Higher resolution means more image detail.

Image resolution can be measured in various ways. Resolution quantifies how close lines can be to each other and still be visibly resolved. Resolution units can be tied to physical sizes (e.g. lines per mm, lines per inch), to the overall size of a picture (lines per picture height, also known simply as lines, TV lines, or TVL), or to angular subtense. Line pairs are often used instead of lines; a line pair comprises a dark line and an adjacent light line. A line is either a dark line or a light line. A resolution of 10 lines per millimeter means 5 dark lines alternating with 5 light lines, or 5 line pairs per millimeter (5 LP/mm). Photographic lens and film resolution are most often quoted in line pairs per millimeter.

23 questions
11
votes
1 answer

How to add/manage multiple image size/resolution in flutter assets

Kindly help with the simplest/shortest way wish to manage multiple images in flutter like hdpi/mdpi... in Android studio How do I include image assets for Flutter? What about multiple resolutions?
Punit
  • 353
  • 1
  • 2
  • 9
3
votes
1 answer

App crashing due to high resolution image

In my app, I'm giving user the feature to set an image for the app's homescreen background(from gallery). The app works fine if the image if low resolution but if the user sets a high resolution image the app crashes on startup giving this…
3
votes
1 answer

android: text size changed while combining text and image

I have textView (mTextOnImage) and imageView (mImageView) . I combine them by using the function combineImages , but when I combine , the text size is changed . //generate bitmap of textView by using getDrawingCache() Bitmap bmp =…
zey
  • 5,939
  • 14
  • 56
  • 110
2
votes
4 answers

PHP cannot upload images bigger than ~ 6500px (the size of the file doesn't matter)

I'm using XAMPP for my project. I'm trying to upload really big images and I've noticed that it doesn't work with all images. After trying it out a few times I came to the conclusion that images which have a higher resolution than something about…
Miger
  • 1,175
  • 1
  • 12
  • 33
2
votes
0 answers

How to know the nominal resolution of an image to use as an asset in flutter?

I have some photos of different sizes for different android and iOS devices. Like, a photo in 800x1280 resolution and in 540x960. Flutter Docs say that if I place those photos in a proper way, Flutter will use the best suiting one to my device as an…
Said
  • 187
  • 1
  • 2
  • 11
1
vote
1 answer

How to save an image after changing its resolution in Pygame?

Currently, I am a beginner when it comes to Pygame, and have been trying to allow the user to hand-draw digits into a canvas. I have managed to get the code to draw and clear the canvas to work. However, the pictures I want to save must be 28 by 28…
1
vote
1 answer

how to create effective header images to adapt to all screen sizes without pixelating

I have been creating a website on my laptop. And I keep the width of header image to 100% and height 400px. I optimize my images of sizes ranging from 800 px x 600 px to 1920 px x 1800 px to fall around 20 Kbs with optimizing tools online and…
1
vote
2 answers

change resolution and size of image with cocoa/osx/swift (no mobile apps)

I try to change the size and the resolution of an image programmatically, afterwards I save this image. The imagesize in the imageView is changing, but when I look at my file "file3.png" it always has the original resolution of 640x1142. I googled…
kuzdu
  • 7,124
  • 1
  • 51
  • 69
0
votes
0 answers

Single Image Super Resolution (SISR)

In Single Image Super Resolution (SISR), we have two paired sets of low resolution and corresponding high resolution images. Suppose we have a set of high quality images of the size 512 x 512 x 1 and its corresponding set of low quality images of…
0
votes
1 answer

What is the image editor's resolution tool for?

I have an image that is 320 x 482 pixels size and 72 PPI. I can change the image resolution with GIMP for example, but why would I use it if the images suits its pixel size for each display pixel size? I mean, an image changes its size in inches…
0
votes
1 answer

Is it possible to turn a low quality image into a high quality one with Python?

I made a tif image based on a 3d model of a woodsheet. (x, y, z) represents a point in a 3d space. I simply map (x, y) to a pixel position in the image and (z) to the greyscale value of that pixel. It worked as I have imagined. Then I ran into a…
Han
  • 1
  • 2
0
votes
0 answers

Image file do not get cleared when the checkResolution condition satisfies

I have to clear the image field after the alert , if the selected img file is not the appropriate size. But now i can see the alert..but when i click on 'ok'(inside the alert),image still retains there itself and i am able to continue with the…
0
votes
1 answer

Image resolution is bad when max-width:100% in css - resize down

How do I fix the CSS so that the resolution is not lost when I scale down? Here is the HTML: CSS for the : .image.main img { width: 100%; } .image img { …
Awesome_girl
  • 484
  • 3
  • 9
  • 30
0
votes
0 answers

How to find out image auto height if the desired width is 1024 in PHP from any sized image?

I have an image with an example dimension of 1600x1200, i would like to resize it down to width: 1024 using PHP. How do i calculate the height if i only know the desired width? I know this works on the command line but it calculates the height for…
Dan
  • 2,209
  • 3
  • 23
  • 44
0
votes
1 answer

check image resolution in hapijs

I am using hapi v17.1 .I am not an expert programmer. I need to get the resolution of an image in hapi js for server side image validation . I have tried image-size plugin var sizeOf = require('image-size'); var { promisify } =…
jeslin
  • 21
  • 5
1
2