diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-01-21 18:13:30 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-01-29 13:07:58 +0300 |
commit | 6f88053d852ad7f04b3d67b1905d88917f481ee3 (patch) | |
tree | f90f232bb27bb637fd198d4b7d3de27c599d9bbf /source/blender/draw/engines | |
parent | 3fb5e838677d8db0c193da1a7c70cb5c392a4610 (diff) |
Fix T84661: read jpg pixel density
For jpeg, an image.resolution was always based on the default 72dpi, now
read the pixel density from the jpeg_decompress_struct, convert
according to unit and store in IMBuf's ppm.
Not 100% sure of all implications tbh., files I have checked seem to work
as expected now in the context of the report.
Maniphest Tasks: T84661
Differential Revision: https://developer.blender.org/D10166
Diffstat (limited to 'source/blender/draw/engines')
0 files changed, 0 insertions, 0 deletions