[Webkit-unassigned] [Bug 200163] JPEGImageDecoder: use libjpeg-turbo RGBA output path even for Adobe transform=0 JPEGs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 6 23:56:10 PDT 2019


--- Comment #16 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 374964
  --> https://bugs.webkit.org/attachment.cgi?id=374964

View in context: https://bugs.webkit.org/attachment.cgi?id=374964&action=review

> Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp:302
>                  m_info.out_color_space = rgbOutputColorSpace();

It seems that JPEGImageDecoder::outputScanlines doesn't support the case out_color_space is BGRA and m_scaled is false.
I think we should set out_color_space JCS_RGB if m_scaled.

  m_info.out_color_space = m_scaled ? JCS_RGB : rgbOutputColorSpace();

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190807/68bc38cb/attachment-0001.html>

More information about the webkit-unassigned mailing list