Questions tagged [retina]

Name used by Apple for their liquid crystal displays with a high pixel density.

239 questions
2
votes
1 answer

iOS 10.2 - Activate Retina Flash instead of Back LED with Torch

Is there a way to specify to the device that when one sets setTorchModeOnWithLevel that they would activate the Retina Flash (iPhone6s/7's front facing flash) instead of the back True-Tone LED Flash? The following standard code appears to only be…
Jake Chasan
  • 6,290
  • 9
  • 44
  • 90
2
votes
0 answers

QIcon blurred on Retina iPad Air

I am currently developing an app for iOS with QT 5.7. I am using some buttons which have an QIcon applied. QIcon loads a *.png file and it is assigned to the pushbutton via QIcon::pixmap(). While this is nice looking on my iMac (without retina) on…
dspverden
  • 31
  • 3
2
votes
0 answers

Cocos Creator Performance issue

I'm using Cocos Creator to develop a new HTML game but the performance in my Macbook Pro Retina (2015) display is really bad. I started a new project to do some tests and i just created the Canvas and a label that says "Hello World". The problema is…
llKoull
  • 335
  • 3
  • 14
2
votes
2 answers

jQuery detect DPI change

I try now for half a day to detect a DPI change with jQuery. The scenario is the following: I have a MacBook Pro (Retina) and a regular screen connected to it. When I move my browser window from the regular one to the MacBooks I want to detect the…
2
votes
1 answer

OpenGL created window size twice as large

I'm running learn OpenGL tutorials on a Macbook Pro 2015. The generated window dimension is twice as large as set. (e.g., set as 800x600 in the code, but got 1600x1200). And the triangle the code tries to draw is in lower left quadrant, when it's…
jszair
  • 55
  • 4
2
votes
1 answer

iOS image file names for iPad Air 2 and iPad Pro

In “iOS Human Interface Guidelines” say what images sizes for iPads is: iPad Air 2 - [1536 x 2048] = @2x iPad Pro – [2048 x 2732] = @2x I use such name convention for retina iPad Air 2 [1536 x 2048]: Background@2x~ipad.png But which of name must…
Jarikus
  • 774
  • 8
  • 18
2
votes
0 answers

Use native resolution in DrawingArea on HiDPI displays

I'm developing a cross-platform photo retouching application based on Gtk-2 (but already able to support Gtk-3 with minor modifications). In my program, the result of the image retouching is previewed in a scrollable area that is implemented through…
2
votes
0 answers

How can I set NSHighResolutionCapable at runtime?

I want to disable OSX's stretcher but I don't want to write an info.plist file. Is there an API for it? (eg. Windows has SetProcessDPIAware() for this) Thanks.
user519179
2
votes
1 answer

Retina images that are not quite double size

I've read the book Retinafy Me. This basically says double the size of images. When it is then displayed on a retina screen at half the image size it will look great. My problem is that the original images I have can't be doubled in size. i.e. the…
user2991837
  • 626
  • 1
  • 8
  • 17
2
votes
0 answers

Repaint issue with Chrome on a retina screen when clipping fixed element with scrollable content

When on a retina screen; clipping a fixed element causes Chrome/Opera to stop repainting the (with overflow enabled) scrollable content. I think this is due to a bug in Blink, but I'd like to know if anyone knows a solution to this issue. I've…
Oliveira
  • 49
  • 6
2
votes
1 answer

using "@2x" in static google map URL

I am trying to create a custom static map with google static map api, using a custom marker. the marker ends with "@2x.png". It seems google's api does not like this? It does work if I use the regular version that just ends in ".png". Has anyone…
Sam
  • 185
  • 1
  • 3
  • 14
2
votes
1 answer

How do I find out whether my program is running on a Retina screen

How can I reliably find out whether my JavaFX program is running on a retina device and what pixel scaling ratio is used. Calling something like System.out.println(Screen.getPrimary().getDpi()); just returns 110 on my Mac. This is exactly half of…
mipa
  • 10,369
  • 2
  • 16
  • 35
2
votes
1 answer

Do I need to save the image at @1x, @2x, @3x?

I have a section on an app of mine that shows all files created and saved by the user. To speed up things, when the user saves the project I save a thumbnail of the rendered project. That thumbnail will be loaded using [UIImage…
Duck
  • 34,902
  • 47
  • 248
  • 470
2
votes
1 answer

Firefox picture tag support?

I'm trying to use picture tag in Firefox. caniuse.com says that picture supported in Firefox 33 (beta) and I can enable support in Firefox 32 (current) manually. I opened an example from html5rocks and I can see that it doesn't work. Also I tried…
krasulya
  • 511
  • 6
  • 17
2
votes
1 answer

retina @2x image not crisp when scaled down on FF / Chrome

I feel silly posting this very basic html question, but I am thoroughly stumped. I have a 100x100 pixel graphic (test@2x.png) that I am serving up as an image and then resizing to 50x50. This should result in a crisp image for both retina and…
pixeloco
  • 255
  • 3
  • 16