Live data from Hacker News

Bringing Wide Color to Instagram

engineering.instagram.com

41–50 of 121 posts

Re: Bringing Wide Color to Instagram

#41
I'm not sure if this is different in the iPhone 7, but the 6S is pretty terrible at color representation in photos, specifically when dealing with neon lights. The iPhone tends to overexpose the neon light to make up for the surrounding being darker, so to get a 'decent' shot, I have to down the exposure by about 2/3 on the 'brightness' in the normal Camera app. But in general, it has a hard time showing as good of color as you would be able to capture in a better camera. For example, I've taken some photos of museum paintings during a visit, and the colors tends to be a little darker and not truly representative (yellows appear like mustard rather than a brighter yellow, for example). I'd love to be able to take more color accurate photos, and it would be more worth it to get the iPhone 7 if that's the case.

Re: Bringing Wide Color to Instagram

#43
post #25

Earlier quoted context omitted.

Same. Here's the link from the article with the download flag removed: https://www.dropbox.com/s/tgarynpj65ouafd/insta-logo.png

Also changes the profile, I can see the instagram logo here but not on the download

Really strange! I get the same behavior. I thought it was maybe Chrome vs my image viewer, but if I open the downloaded image with Chrome, it's just pure red, but the preview in Dropbox I definitely (faintly) see the logo.

If I right click and save the dropbox preview, I get a 14kb image, but the downloaded image is 29kb. As far as I can tell they're both PNGs with the same bit depth.

Re: Bringing Wide Color to Instagram

#44
post #36
post #20

Earlier quoted context omitted.

Good to know--I didn't run it through my Pixel. Some devices will do a relative projection from Display P3 to sRGB, which means that it will look "relatively" like it would in Display P3 but projected onto the sRGB color space. Edited to add: and some other ones are doing something even less fancy, which is just to ignore the color profile entirely and just assume sRGB and display it incorrectly, taking for example w…

Since you brought up your Pixel: what is the point of adding something 1% of your customers maybe can see instead fixing that horrible horrible compression that makes uploads from android (80% world wide market share) look like crap? (Not an android user, I just want to figure out how a company of your size prioritises between bugs and features.)

Yeah, I wondered that myself as well - Instagram on Android deliberately destroys image quality and the issue is still unadressed O.o

What kind of developers do they employ there?

Re: Bringing Wide Color to Instagram

#45
post #17

Earlier quoted context omitted.

Not necessarily on topic - but given your code samples are written in Objective-C, how much of your codebase is still in Objective-C and what's your opinion on porting it over to Swift?

Good q. All of it is still Objective C and C++; there's a few blockers to starting to move to Swift, including the relatively large amount of custom build + development tooling that we and FB have in place.

Hi Mike, since Instagram is listed in the React Native Showcase, could you tell us where are you using it? Thanks in advance.

https://facebook.github.io/react-native/showcase.html

Re: Bringing Wide Color to Instagram

#46
post #25

Earlier quoted context omitted.

Same. Here's the link from the article with the download flag removed: https://www.dropbox.com/s/tgarynpj65ouafd/insta-logo.png

This is interesting. Shows up in Firefox here, but not in Windows built in Picture viewer. My display is certainly only sRGB so I guess Firefox is doing some kind of correction.

I've written lots of graphics and image processing code.

You can see the logo because almost every computer system on the planet handles color spaces incorrectly. Apple's devices are actually better than most, though third party drivers such as those for printers can sabotage their color handling.

The canary image will appear as red without a logo on a computer with an sRGB display if that computer correctly handles color spaces throughout the whole imagine pipeline. That's a lot of ifs.

If your system ignores color spaces, you will see the logo because the Display P3 (DP3) color space gets compressed into sRGB. When you look at real world DP3 images on this system, you will see the reds as being more muted. The same thing happens if you use an Adobe RGB camera (there are lots of these) and display it in sRGB, except with the green channel, because AdobeRGB has a wider green range.

No matter which color space you use, an image will contain RGB tuples. The color space is additional meta-info which says how to interpret those tuples. Lots of software will ignore the metadata and simply assume the RGB tuples are used in the same way as it expects.

Re: Bringing Wide Color to Instagram

#48
post #45
post #17

Earlier quoted context omitted.

Good q. All of it is still Objective C and C++; there's a few blockers to starting to move to Swift, including the relatively large amount of custom build + development tooling that we and FB have in place.

Hi Mike, since Instagram is listed in the React Native Showcase, could you tell us where are you using it? Thanks in advance. https://facebook.github.io/react-native/showcase.html

I'd like to know this, too.

Re: Bringing Wide Color to Instagram

#49
post #12

Link for viewing 'canary image' in browser, without triggering download/dropbox: https://imgur.com/a/v82GI (Indeed, I can see a faint Instagram logo on my iPhone7, but not my older rMBP.)

Last I checked, the browsers vary in their support for color management. Try a quick test at a page like this before drawing any conclusions from the canary image:

http://cameratico.com/tools/web-browser-color-management-tes...

Re: Bringing Wide Color to Instagram

#50
post #45
post #17

Earlier quoted context omitted.

Good q. All of it is still Objective C and C++; there's a few blockers to starting to move to Swift, including the relatively large amount of custom build + development tooling that we and FB have in place.

Hi Mike, since Instagram is listed in the React Native Showcase, could you tell us where are you using it? Thanks in advance. https://facebook.github.io/react-native/showcase.html

It's getting used more and more in our app--few recent examples are the "Promote Post" UI if you're a business account and want to promote a post from inside Instagram, the Saved Posts feature, and the comment moderation tools we now provide around comment filtering.
Post reply on HN