New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 668546 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 634542
issue 665919



Sign in to add a comment

Correct createImageBitmap default color space conversion behavior

Project Member Reported by zakerinasab@chromium.org, Nov 24 2016

Issue description

In codereview.chromium.org/2522693002 -> ImageBitmap.cpp -> parseOptions the color space for "default" color space conversion in createImageBitmap is set to sRGB. It must be set to ImageDecoder::globalTargetColorSpace() when the crash problem on Mac is fixed for this API (part of  crbug.com/667420 ).
 
Blocking: 665919
Summary: Correct createImageBitmap default color space conversion behavior (was: createImageBitmap default color space conversion when color correct rendering is disabled)
To be more clear, the "default" must be mapped to sRGB when color correct rendering is enabled, and to display color profile otherwise.
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/73af4f477cdc6b962b8fd069353ea8df80af8491

commit 73af4f477cdc6b962b8fd069353ea8df80af8491
Author: zakerinasab <zakerinasab@chromium.org>
Date: Thu Jan 05 17:19:30 2017

Correct the behavior of createImageBitmap's "default" color space conversion

In ImageBitmap.cpp -> parseOptions, when color correct rendering is disabled, the destination color space for "default" color space conversion in createImageBitmap is set to sRGB. It must be set to display color profile.

BUG= 668546 

Review-Url: https://codereview.chromium.org/2595833003
Cr-Commit-Position: refs/heads/master@{#441683}

[modify] https://crrev.com/73af4f477cdc6b962b8fd069353ea8df80af8491/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
[modify] https://crrev.com/73af4f477cdc6b962b8fd069353ea8df80af8491/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
[modify] https://crrev.com/73af4f477cdc6b962b8fd069353ea8df80af8491/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp

Status: Fixed (was: Assigned)
Blocking: 634542

Sign in to add a comment