Right now I am using this function:  function is_retina_device() {     return window.devicePixelRatio > 1; }   But its simplicity scares me. Is there a more thorough check?...
I'm using chart.js with the latest v2.7.1 release. I followed this jsfiddle example for creating a fixed Y-Axis effect when scrolling. It works great but there is one issue with Retina displays (iPhones, Macbooks, etc).     var ctx = document.get...
I'm creating a detection script that sniffs out any device (currently only iPhone4) with a retina display (or similar) when a user arrives at my site. Because the resolution is greater, I need to push higher res images/graphics. The only solution...
I have an iPad 2 canvas app (game) and would like to get it to run on the new iPad retina display.   Simply put, what is the best method to stretch/shrink my iPad2 image for retina iPad models?  From the googling I've done, I've seen various...
I have a paste handler which takes an image in the clipboard and uploads it to the server. I can successfully access the clipboard data, but if the clipboard image data has a resolution higher than 72ppi, it gets downsampled to 72ppi.   This is espec...
We're currently building a website for mobile devices. Supported operating systems and browsers should be:   Android 4.x (Stock Browser, Google Chrome) iOS6+ (Safari, Google Chrome)   In order to also support high resolution displays we evaluated...
I am using KineticJS to perform HTML Canvas animations. Animations work perfectly on all desktop browsers, and non retina iDevices (including iPad mini). However, from a retina device (browser or in-app webview using appcelerator) these animations ar...
With a retina Macbook Pro, it's possible to plug in an external monitor and you drag a browser window between the retina screen and the other, normal-DPI display.  Does this cause window.devicePixelRatio to dynamically change? And if so, is there...
Apple.com always display a standard image first and then use javascript to load a retina image if the device supports retina.  I wonder why apple don't use CSS media query directly to reduce the HTTP requests?...
I'm hoping someone out there can help with this as I can't seem to find a solid solution.  Is there a framework or general setup to get html canvas rendering nicely, and at the correct size at varying pixel densities?  I understand why the is...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.