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

Issue 818246 link

Starred by 0 users

Issue metadata

Status: Closed
Owner:
Last visit > 30 days ago
Closed: Sep 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Investigate ImageBitmap->GetImageWithAlphaDisposition with extended sRGB

Project Member Reported by zakerinasab@chromium.org, Mar 2 2018

Issue description

GetImageWithAlphaDisposition is a static utility function in ImageBitmap.cpp. There are two things that need more consideration when extended sRGB is introduced to the proposal and supported by Skia:

- The unpremul always happens in gamma encoded space.
- For premul, sRGB gamma curve is avoided by comparing the image color space to sRGB.
 
Cc: -junov@chromium.org
Status: Closed (was: Assigned)
This should work fine when Skia supports ex-sRGB. The code now has changed to draw on a canvas for premul and use readPixels() for unpremul.

Sign in to add a comment