The current implementation of FTW applies horrible scaling factors to native images, resulting in blocky images (in some cases). This patch corrects the handling of native images, and retrieves more data from the ImageDecoder's metadata system.
Also: The API that I was using to create BitmapRenderContexts overrode the screen DPI by passing the same size for the "logical dimensions" and the "pixel dimensions". This patch corrects that mistake. We need to use this API (rather than letting Direct2D handle it) because our software image processing wants to work in 1x dimensions, so those code paths need to be able to supply matching pixel and logical dimensions.
Created attachment 377832 [details] Patch
Comment on attachment 377832 [details] Patch Clearing flags on attachment: 377832 Committed r249414: <https://trac.webkit.org/changeset/249414>
All reviewed patches have been landed. Closing bug.
<rdar://problem/54956764>