[Webkit-unassigned] [Bug 168814] New: Asynchronous image decoding should consider the drawing size if it is smaller than the size of the image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 23 18:19:45 PST 2017


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

            Bug ID: 168814
           Summary: Asynchronous image decoding should consider the
                    drawing size if it is smaller than the size of the
                    image
    Classification: Unclassified
           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

If the size of the destinationRect is smaller than the image source size (e.g. 3000x3000 pixels), CGImageSourceCreateThumbnailAtIndex() is slower than CGImageSourceCreateImageAtIndex() in decoding this image. To overcome this problem, the entry (kCGImageSourceThumbnailMaxPixelSize, max(destinationRect.width, destinationRect.height)) is added to the options dictionary when calling CGImageSourceCreateThumbnailAtIndex(). This will avoid copying a large block of memory for the unscaled bitmap image.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170224/0b0b7d7b/attachment.html>


More information about the webkit-unassigned mailing list