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

Issue 722855 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Chrome displays this JPEG image badly

Project Member Reported by mark@chromium.org, May 16 2017

Issue description

In 60.0.3100.0, the attached JPEG image (“22nd Street Closed Posting.JPG”) displays badly. See bad.png.

It displays correctly in the current stable version, 58.0.3029.110. See ok.png.

macOS 10.12.5 16F73 on a MacBookPro11,3.
 
22nd Street Closed Posting.JPG
157 KB View Download
bad.png
226 KB View Download
Components: -Blink>Image Internals>Images>Codecs
Labels: -Pri-1 -M-60 BugSource-Chromium PaintTeamTriaged-20170517 Pri-2
Color space issue now that we handle such things?
Cc: msarett@chromium.org
(Matt are you on the list for Internals>Images>Codecs?)
Cc: -msarett@chromium.org
Owner: msarett@chromium.org
@scroggo, I'm not on that list.  Do you know how I can subscribe?
Project Member

Comment 4 by bugdroid1@chromium.org, May 17 2017

The following revision refers to this bug:
  https://skia.googlesource.com/skia/+/e31d8a148467a56fd01e0ae0afa2a733f9dbf90e

commit e31d8a148467a56fd01e0ae0afa2a733f9dbf90e
Author: Matt Sarett <msarett@google.com>
Date: Wed May 17 19:56:10 2017

SkColorSpace_ICC: classify two entry tables as linear

The bug linked in this CL was caused by the switch to SkJumper -
where we decided to stop interpolating table-lookups.

In this case, the image has tables with two entries: 0, 1.

This fixes the bug by optimizing away the table lookup for
these trivial no-op tables.  I think this is a good change
on its own.  We see these tables fairly regularly.

A more robust fix would expand "small" tables into larger
ones through interpolation.  Should we also do this?

Bug:  722855 
Change-Id: I3881734c6f28b5519cbe593dd05cc7b6b1b8a9d0
Reviewed-on: https://skia-review.googlesource.com/17272
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>

[modify] https://crrev.com/e31d8a148467a56fd01e0ae0afa2a733f9dbf90e/src/core/SkColorSpace_ICC.cpp

Status: Fixed (was: Untriaged)
Cc: msarett@chromium.org
 Issue 725030  has been merged into this issue.

Sign in to add a comment