mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
8e2102fb73
Exif metadata have two tags to store the pixel density along each axis. If both values are different and no action is taken, the resulting image will appear deformed. This commit scales the displayed bitmap accordingly to these tags in order to show the image in its intended shape. This unfortunately includes a lot of plumbing to get this information through IPC. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
main.cpp | ||
MainWidget.cpp | ||
MainWidget.h | ||
ViewWidget.cpp | ||
ViewWidget.h |