Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Issue 754183005: Define CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA (Closed)

Created:
6 years ago by Noel Gordon
Modified:
6 years ago
CC:
chromium-reviews, inferno, Stephen White, Justin Novosad, pascal.massimino, firefrog_gmail.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Define CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA Detect if cHRM and gAMA chunks are present in the PNG image headers when iCCP sRGB cHRM gAMA chunk reading is enabled by pngusr.h config. Store the detections as PNG info flags in a PNG info struct value called chroma_or_gamma. Define CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA to guard the various code changes. No change in behavior, no new tests. BUG=354883

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M third_party/libpng/README.chromium View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/libpng/png.h View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/libpng/pngrutil.c View 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/libpng/pngusr.h View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (2 generated)
Noel Gordon
6 years ago (2014-12-02 19:12:13 UTC) #2
Noel Gordon
6 years ago (2014-12-02 19:21:00 UTC) #3
Noel Gordon
Ken, if you're comfortable reviewing this one ... Clusterfuzz image fuzzers have our back.
6 years ago (2014-12-02 20:46:49 UTC) #5
Ken Russell (switch to Gerrit)
What's the real bug here? Is it that libPNG isn't honoring the statements in http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html ...
6 years ago (2014-12-02 23:50:56 UTC) #6
Noel Gordon
On 2014/12/02 23:50:56, Ken Russell wrote: > What's the real bug here? Is it that ...
6 years ago (2014-12-02 23:57:26 UTC) #7
Ken Russell (switch to Gerrit)
On 2014/12/02 23:57:26, noel gordon wrote: > On 2014/12/02 23:50:56, Ken Russell wrote: > > ...
6 years ago (2014-12-03 00:00:18 UTC) #8
Noel Gordon
On 2014/12/03 00:00:18, Ken Russell wrote: > On 2014/12/02 23:57:26, noel gordon wrote: > > ...
6 years ago (2014-12-03 00:13:56 UTC) #9
Ken Russell (switch to Gerrit)
On 2014/12/03 00:13:56, noel gordon wrote: > On 2014/12/03 00:00:18, Ken Russell wrote: > > ...
6 years ago (2014-12-03 00:47:38 UTC) #10
Noel Gordon
On 2014/12/03 00:47:38, Ken Russell wrote: > > but conflated with sRGB setting also. Ditching ...
6 years ago (2014-12-03 01:46:46 UTC) #11
Ken Russell (switch to Gerrit)
On 2014/12/03 01:46:46, noel gordon wrote: > On 2014/12/03 00:47:38, Ken Russell wrote: > > ...
6 years ago (2014-12-03 03:16:04 UTC) #12
Noel Gordon
On 2014/12/03 03:16:04, Ken Russell wrote: > > With my change, only 25 layout tests ...
6 years ago (2014-12-03 03:53:35 UTC) #13
Ken Russell (switch to Gerrit)
On 2014/12/03 03:53:35, noel gordon wrote: > On 2014/12/03 03:16:04, Ken Russell wrote: > > ...
6 years ago (2014-12-04 00:01:28 UTC) #14
Noel Gordon
On 2014/12/04 00:01:28, Ken Russell wrote: > > Load in firefox: _color mismatches_ > > ...
6 years ago (2014-12-09 05:44:30 UTC) #15
Ken Russell (switch to Gerrit)
On 2014/12/09 05:44:30, noel gordon wrote: > On 2014/12/04 00:01:28, Ken Russell wrote: > > ...
6 years ago (2014-12-11 01:30:12 UTC) #16
Noel Gordon
On 2014/12/11 01:30:12, Ken Russell wrote: > On 2014/12/09 05:44:30, noel gordon wrote: > > ...
6 years ago (2014-12-12 03:12:14 UTC) #17
Noel Gordon
On 2014/12/12 03:12:14, noel gordon wrote: > > Please provide your best recommendation > Will ...
6 years ago (2014-12-13 00:14:36 UTC) #18
Ken Russell (switch to Gerrit)
On 2014/12/13 00:14:36, noel gordon wrote: > On 2014/12/12 03:12:14, noel gordon wrote: > > ...
6 years ago (2014-12-13 00:23:03 UTC) #19
Noel Gordon
6 years ago (2014-12-14 04:53:27 UTC) #20
Message was sent while issue was closed.
On 2014/12/13 00:23:03, Ken Russell wrote:
 
> OK. Let's please close this then and pursue the other option.

Done, and for additional patina, see #1
https://code.google.com/p/page-speed/issues/detail?id=1187 to see how difficult
it is to decide which PNG chunks to believe, retain, etc, and #2
http://superuser.com/questions/579216/why-does-this-png-image-display-differe...
(the strange story of the apple and the pear). png is a cluster.

Powered by Google App Engine
This is Rietveld 408576698