| Summary: | TIFF images with display resolution stored in pels/cm is displayed as ppi in image/properties panel | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Aaron Boxer <boxerab> |
| Component: | File formats | Assignee: | amyspark <amy> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | amy, halla |
| Priority: | NOR | Keywords: | triaged |
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/08e3e2356a055b1f3e9da583a395226bdf1249f0 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
TIFF image with pixels/cm stored
Image with resolution stored in pixels/cm |
||
That is strange, because both ImageMagick and Krita show me a resolution of 300x300 dpi when I open the attached image. 118 ppcm is 300 ppi. I think the problem is just that properties displays the 118 oops, I think I upload the wrong image. Created attachment 128134 [details]
Image with resolution stored in pixels/cm
Sorry, the last image had resolution stored in ppi, this one is in
ppcm. But Krita still displays ppi.
Ah, that explains. A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1662 Git commit 08e3e2356a055b1f3e9da583a395226bdf1249f0 by L. E. Segovia. Committed on 29/11/2022 at 15:35. Pushed by lsegovia into branch 'krita/5.1'. tiff: Implement detection of resolution unit Part-of: <https://invent.kde.org/graphics/krita/-/merge_requests/1662> (cherry picked from commit c8d869554b31175b2fe368383955b3a97964e85b) M +4 -0 plugins/impex/tiff/kis_tiff_export.cc M +20 -5 plugins/impex/tiff/kis_tiff_import.cc https://invent.kde.org/graphics/krita/commit/08e3e2356a055b1f3e9da583a395226bdf1249f0 |
Created attachment 128104 [details] TIFF image with pixels/cm stored 1. run tiffinfo on attached image - resolution stored as 118 pixels / cm 2. Open attached image, and then open image / properties resolution is displayed as 118 pixels / inch