[Webkit-unassigned] [Bug 259960] New: [Cocoa] Large images should not be decoded with its natural size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 8 18:07:04 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259960

            Bug ID: 259960
           Summary: [Cocoa] Large images should not be decoded with its
                    natural size
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: sabouhallawa at apple.com

Test case: https://upload.wikimedia.org/wikipedia/commons/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg

Image sub-sampling should be enabled for macOS so the number of the decoded pixels is scaled down by the ratio between destinationSize and sourceSize.

For non-scaled display, sub-images should be used to display the image on different tiles. The size of the sub-image will be the mapping of the destination rectangle clipped by the GraphicsContext.bounds() in the image rectangle.

-- 
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/20230809/19ae9485/attachment.htm>


More information about the webkit-unassigned mailing list