Chromium Code Reviews
DescriptionAdd support for transparent/translucent pixels in the user image
Previously, the user image was always saved in JPEG
format at /home/chronos/<email-address>.jpg even if the user
chose a PNG file with transparent/translucent pixels.
Since JPEG format does not support transparent/translucent pixels,
these pixels were replaced with black ones.
This patch solves the problem by storing the user image in PNG
format at /home/chronos/<email-address>.png, when
transparent/translucent pixels are present.
BUG=587289
TEST=transparent pixels are honored in the login and lock screens, as well as the settings page
Committed: https://crrev.com/0a1936275b756e3e36de00ecf83058553d9d7217
Cr-Commit-Position: refs/heads/master@{#436230}
Patch Set 1 : Add support for transparent/translucent pixels in the user image #
Total comments: 17
Patch Set 2 : address comments #Patch Set 3 : Add support for transparent/translucent pixels in the user image #
Total comments: 4
Patch Set 4 : address comments #Patch Set 5 : fix test failures #
Total comments: 6
Patch Set 6 : add a period #Patch Set 7 : rebased #Messages
Total messages: 53 (32 generated)
|