Bug 249880

Summary: Don't decode AND mask for an icon that already has alpha information
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: karlcow, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-12-25 03:08:36 PST
Hi Team,

Thanks for looking through Blink's commit, I came across another which can be fixed:

Test Case - Look at favicon - http://mounirlamouri.github.io/sandbox/icon-test-1.html

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=185957

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/platform/image-decoders/bmp/BMPImageReader.cpp#103

Just wanted to raise this bug for input and if needed then we can do 1-1 merge.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-01-01 03:09:14 PST
<rdar://problem/103798329>