Name used by Apple for their liquid crystal displays with a high pixel density.
Questions tagged [retina]
239 questions
1
vote
0 answers
Enlarged images did not displayed in browser, vite, react
I have a Vite-React app where I have normal size and enlarged images (for retina screen users). All the mentioned images are stored in the public/img/ directory.
The problem arises when I use the Toggle device toolbar in my browser to check how the…

Paulina S
- 11
- 2
1
vote
1 answer
How does OS.min_window_size work on iOS retina screens
I understand you can set a minimum and maximum window size in gdscript, for the situation when your application is running on a desktop or laptop and is resizable. i.e.
OS.min_window_size = Vector2(500, 500)
OS.max_window_size = Vector2(6000,…

Jay
- 19,649
- 38
- 121
- 184
1
vote
1 answer
GLUT problem with the support of hidpi retina on macOS (c++)
I making a port of my 3d program to macOS.
I'm using c++ and FreeGlut at windows. So at macOS, I've started to use it with GLUT. I don't use cocoa and create an OpenGL window context via GLUT.
There is a problem with the support of hidpi…

user3418722
- 11
- 1
1
vote
1 answer
Xcode 10 - Turn off Retina display of simulator, or set screen scale to 1
I would like to have a window scale of 1 (no retina display), on the simulator for example.
[UIScreen mainScreen].scale
In other words, this should return 1.
Is it possible?

Xys
- 8,486
- 2
- 38
- 56
1
vote
2 answers
Abnormal Size of Qt GUI Widget On MacOS
I wrote a program using QvtkWidget. When I successfully embedded QvtkWidget into my GUI. I found the size of my Button is abnormal.
I have already changed the layout. Nothing happened. I use Mac Mojave. Anyone knows something? Many thanks. Here are…

李宗瑞
- 13
- 3
1
vote
1 answer
I am trying to use sprites for a webpage but I don't know how to work with images being double resolution
I am trying to use sprites for a webpage but I don't know how to work with images being double resolution. Can you pls help?
So far I am using:
.div {
display: block;
margin: 0 auto;
width: 200px; ---> they remain 400px;
height:…

Acdn
- 568
- 2
- 13
- 26
1
vote
1 answer
Swift CGContext with retina
I have a UIImage extension that can change the color of it's image that I pulled off somewhere. The problem is that it downgrades it's resolution after it colors the image. I've seen other answers based on this, but I'm not sure how to adapt this to…

Chewie The Chorkie
- 4,896
- 9
- 46
- 90
1
vote
0 answers
d3: canvas zooming on retina
Comparing the Canvas Semantic Zooming example:
https://bl.ocks.org/mbostock/3681006
with an example adjusted for retina screens (would probably have to view on retina to see…

interwebjill
- 920
- 13
- 38
1
vote
0 answers
Media query for retina and non-retina so only one graphic is loaded
When I write media queries I always specify both the min and max so that I don't override the CSS for a background image when the device is at a certain size, instead it just loads the one I want.
So:
@media (max-width: 767px) { background-image:…

Cameron
- 27,963
- 100
- 281
- 483
1
vote
0 answers
Remove noise from the image and highlight the curves of the retina
I have tried to extract only the blood vessels from the image of the retina, the last result I have had is the following, but there is still noise in the image, I do not know if anyone knows of any method to clean the image, I am interested in…

nneJZ03
- 49
- 2
1
vote
3 answers
Retina display pixel ratio and media queries
How can I get my max-width media queries to work on retina displays? I have tried the website I have created on a macbook air and because the pixel ratio is 2 my media queries are active at the wrong screen widths.
here's an example of how I have…

Reece
- 2,581
- 10
- 42
- 90
1
vote
1 answer
Image processing (segmentation) in matlab
How can I detect optic cup and disc from retinal image using matlab ? I want to find out the measurement of optic rim ( distance between optic cup and optic disc )
I have tried the following code
RGB = imread('img/A(4).jpg');
G =…

Kartik Thakkar
- 46
- 7
1
vote
0 answers
HTML5: Device Pixel Ratio VS Software Zoom
How can I reliably distinguish between the device's pixel ratio and the browser's zoom setting? My website needs to adapt to each of these in a different manner, so the product of these two data points is inadequate: window.devicePixelRatio.

user3335211
- 11
- 3
1
vote
2 answers
Difference in font size on tablets and phones
I really hope, you are able to assist me on this one, as I'm tearing my hair out...
I have a little marquee, based on this code: http://jsfiddle.net/TCJT4/525 that feeds some text.
Here's how it looks on an iPad 6... and please disregard from the…

Anders
- 251
- 3
- 13
1
vote
1 answer
Retina display: How to display images in native pixel resolution in Finder and Preview
This is a pseudo question to share my own trick and script below.
The point is to be able to display image pixel for pixel on Retina displays. This is mainly useful for high resolution image and/or for developers working on HDPI version of…

Max_B
- 887
- 7
- 16