Live data from Hacker News

Retina.js: Retina graphics for your website

retinajs.com

81–90 of 102 posts

Re: Retina.js: Retina graphics for your website

#81
post #73
post #64

Earlier quoted context omitted.

Storage is too cheap to care these days. When $110 buys you 2TB (this morning on Newegg), then doing it on the fly and caching the result has about 100x better ROI than trying to solve it with a smart format. Remember, we're speaking about still photos here, where high retina quality ones rarely take more than 500k each, so 2TB buys you room for 4,000,000 photos (and since you'll be caching the lower res 200K images,…

I don't think archgrove's point was about storage, but about the extra friction of tracking N files instead of 1.

That might be, but with the right Apache, nginx, varnish (take your pick) module, this friction will be reduced to saying something like:

    lower_res {
      Request /lowres/*.jpg
      Provide /highres/$1.jpg
      Downscale 50%,50%
      Cached_on /mnt/cheapdisk_that_can_go_away_at_any_time
    }
I'm not aware of such an existing module, but I'm sure a good one will appear within the next couple of years of it does not yet exist.

Compared to developing and deploying a new progressive format (across users, web servers and web browsers), the effort -- both in developing this module, and in configuration, is negligible.

Re: Retina.js: Retina graphics for your website

#82
post #65

Earlier quoted context omitted.

Oh come on. Apple’s iPhone and iPad barely hits the mark there. They are overshooting nothing. It’s a petty good approximate term that to my mind works perfectly well. Sure, things change depending on view distance but I guess nerds have to survive a term that’s not always exact. The horror! That was an uninformed rant on your part. What are you suggesting as an alternative? High-PPI certainly does not work.

Apple’s iPhone and iPad barely hits the mark there. Do you actually believe that the magical "retina" mark just coincidentally happened to be 2x Apple's original resolutions? How convenient! It’s a petty good approximate term It's a marketing term that the stupid embrace. Is a 64Kbps mp3 "eardrum audio" in a standard room with a fan? Is 128Kbps eardrum audio on a crummy mp3 player? That was an uninformed rant on your…

Allow me to roll my eyes at so much hypocrisy.

Re: Retina.js: Retina graphics for your website

#83
post #26

Earlier quoted context omitted.

No, the distinction of device pixels vs. CSS pixels predates the first "Retina" iPhone. The distinction existed in all browsers supporting full page zoom, including the Safari on the first iPhone, and in Opera for years before that. "Retina" is just a marketing term for "pixels so small your eye can't distinguish them at a normal distance anymore".

The distinction is also in CSS specs[0] since version 2.1: “The reference pixel is the visual angle of one pixel on a device with a pixel density of 96dpi and a distance from the reader of an arm's length. 1px thus corresponds to about 0.26 mm (1/96 inch).” [0] http://www.w3.org/TR/CSS21/syndata.html#length-units See also http://inamidst.com/stuff/notes/csspx (been featured on HN some time ago)

Why are their visual angles measured in millimeters?

Re: Retina.js: Retina graphics for your website

#84
post #72
post #47

Earlier quoted context omitted.

No, it's a gimmick designed expressly to confuse the consumer. Other manufacturers of comparable products, for trademark reasons, can't use the term "retina". So only Apple has "retina". Intel played a similar trick about 8 years ago with "Centrino". The advertising (for what was essentially just a 802.11b chipset with some added processor/chipset requirements) was so successful that many novice users got fooled into…

I fail to see your point. All companies give trademarked names to their products, and to specific features of their products (especially the features that are used heavily in marketing).

Apple is welcome to give any name they want to their product. But when they confuse users to the extent that otherwise-smart web developers start producing "retina.js" to manage resolution independent images (hardly an Apple-specific problem!) then the practice has gone too far.

Re: Retina.js: Retina graphics for your website

#85
post #6
post #3

Wouldn't that mean that the device will first try to download all of the low res images and when the script finished loading and is running, the device would then start to load all of the high res images. How's the user experience with all of those additional requests and traffic? (especially via GSM/CDMA)

Indeed it would. Certainly less than ideal, but this provides an avenue to easily implement higher DPI graphics. Right now, it seems like the easiest method to get a site upgraded without having to make a ton of changes. Ideally, we'd have something that would deliver only the correct image to the correct device, the first time. I haven't seen a clean method for achieving that yet.

I could see how that's problematic for in page img tags, but for background images, couldn't one just use media queries to grab the higher resolution image?

Re: Retina.js: Retina graphics for your website

#86
post #17
post #4

Earlier quoted context omitted.

As soon as we stop saying Jeep, Walkman, Zipper, Kleenex, Laundromat, Xerox and all the other proprietary eponyms

Well to be fair, it's been several years since I've heard anyone call an SUV a Jeep (other than a Jeep), a tissue a Kleenex, or a copy machine a Xerox. But Zipper was a brand name?? What the hell is the generic product name for a zipper?

Um, in Britain, we call them "zips". It's generic and not trademarked.

Re: Retina.js: Retina graphics for your website

#87
post #49
post #39

Earlier quoted context omitted.

This becomes about semantics, then. If somebody writes an article about "retina displays", I immediately assume it's about this particular way of implementing resolution independence in the browser and in the OS (by doubling/quadrupling the physical resolution while keeping the virtual resolution the same). So as such it serves me better than a generic term that requires additional explanation.

Uh... of course it's about semantics. What josteink was complaining about was the use of a proprietary marketing term to refer to something technical. Your interpretation is a fine one, but it's not the one that everyone shares. Specifically, it's not the sense that Apple uses the term either. Take a look at Apple's marketing page for the retina display and see if you can find anything about "resolution independence"…

So I guess the title of the article should be "Resolution independent high-resolution graphics for your website" then. Retina still communicates the subject better to me, since we all know this is about providing high-res images for iOS devices with Retina displays. Maybe I'm just getting too old to be anal about terminology like this.

Re: Retina.js: Retina graphics for your website

#88
I'm already used to doing this for iOS, and though the process is cumbersome, enjoy the simplicity of using @2x images when designing apps.

That said, this is why CSS3 is so valuable, particularly when responsive websites have already complicated the process of building a website/app.

Re: Retina.js: Retina graphics for your website

#89
post #84
post #72

Earlier quoted context omitted.

I fail to see your point. All companies give trademarked names to their products, and to specific features of their products (especially the features that are used heavily in marketing).

Apple is welcome to give any name they want to their product. But when they confuse users to the extent that otherwise-smart web developers start producing "retina.js" to manage resolution independent images (hardly an Apple-specific problem!) then the practice has gone too far.

How would Apple go about unconfusing users? Should they vet future feature names to make sure they're not likely to become too popular?

Re: Retina.js: Retina graphics for your website

#90

After introducing Retina displays and graphics.. Apple has unknowingly disrupted the whole display industry. Suddenly all of us now start noticing pixels on our laptop screens as well as HDTVs, which existed since a long time now. I believe this will actually thrust the current internet into a new era of HD internet and soon computer makers and tv makers will jump onto making high pixel density displays. This makes s…

The main place that pixels were noticeable was in an Apple store. Next to the iPhone 4, the older iPads looked much less sharp, at least for text (particularly Computer Modern). There have been lots of attempts at resolution independence, and I'm sure Windows and various Linux GUIs have hooks for such, but they've not been tested much because the hardware was generally in the 96-120 ppi range. There's no need for HDTVs to change.
Post reply on HN