[Webkit-unassigned] [Bug 180552] [WK2] Expose image via WKBundleHitTestResult API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 8 16:29:18 PST 2017


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

--- Comment #8 from Zach Li <zacharyli323 at gmail.com> ---
(In reply to Simon Fraser (smfr) from comment #7)
> Comment on attachment 328872 [details]
> Patch v2
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=328872&action=review
> 
> > Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:185
> > +    graphicsContext->drawImage(bitmapImage, {{ }, sizeRespectingOrientation});
> 
> Does this do the correct thing for images with EXIF rotations?

I took a look at -drawImage() function and by default, DoNotRespectImageOrientation is passed to ImagePaintingOptions, so this means it would not auto-rotate images with EXIF orientation tags? (Sorry, I am not so familiar with this area of code)

But at least for my use case, image orientation does not matter.

-- 
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/20171209/beead121/attachment.html>


More information about the webkit-unassigned mailing list