View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015837 | Scribus | Import / Export | public | 2019-10-04 13:44 | 2019-12-08 21:24 |
Reporter | davidrevoy | Assigned To | jghali | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Distro packages & Appimage-SVN | OS | GNU/Linux Kubuntu | OS Version | 18.04.2 LTS |
Product Version | 1.5.6.svn | ||||
Fixed in Version | 1.5.6.svn | ||||
Summary | 0015837: Import of Tiff files: the default resolution unit should be "per inch" | ||||
Description | Hi, When importing a new tiff image on the canvas, this one appears with a resolution of 72ppi. Even if the file has Resolution. | ||||
Steps To Reproduce | 1. Save the test.tif file in attachement. You can test the file with Imagemagick in a terminal "$ identify -verbose test.tif | grep Resolution" → (output Resolution: 508x508) 3. Open Scribus , a A4 , drag and drop the tif on canvas. 4. The tif will appear bigger than a 2cm x 2cm box. | ||||
Additional Information | Tested and reproduced in latest 15.5 appimage, 1.4.8 from Ppa package. Tested and reproduced with other regular ppi: 300, 96, 600... | ||||
Tags | dpi, image, ppi, TIFF | ||||
Patch | No | ||||
|
|
|
In fact your file does not specify if the resolution is expressed in dot per inch or dot per centimeter because the resolution unit tag is missing. |
|
Hi @jghali. Thank you for the quick answer! So do you think I should bug report that to Krita team? Or is it a unit (per inch) that Scribus could assume in case missing instead of falling back to 72ppi? |
|
I have to check what TIFF specs says about resolution unit tag. I'll have to do that later tho as I have to quit my hotel room in a moment. I tend to think that we should probably use "per inch" unit as default. However it would be good if Krita would set the TIFF resolution unit tag properly. |
|
Nice. No hurry, I'm not in a workflow breaker situation: I'm even using other file format as TIFF in my project right now and I'm using Scribus 1.4.8. So, +1 for the "per inch" by default. I'll report this one to Krita. Thanks! |
|
Ok, so the old TIFF specs says that the default resolution unit is indeed "per inch". So I will modify 1.5.x code to define this default value properly. I won't modify our stable 1.4.x branch however, as I fear that change may cause some document breakages. |
|
Thank you again for having a look and fixing it in 1.5.x ! True, I totally understand for 1.4.x documents, that's wise. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-10-04 13:44 | davidrevoy | New Issue | |
2019-10-04 13:44 | davidrevoy | File Added: test.tif | |
2019-10-04 13:44 | davidrevoy | Tag Attached: image | |
2019-10-04 13:44 | davidrevoy | Tag Attached: TIFF | |
2019-10-04 13:44 | davidrevoy | Tag Attached: dpi | |
2019-10-04 13:44 | davidrevoy | Tag Attached: ppi | |
2019-10-04 23:33 | jghali | Note Added: 0046734 | |
2019-10-04 23:39 | davidrevoy | Note Added: 0046735 | |
2019-10-04 23:39 | jghali | Note Edited: 0046734 | |
2019-10-04 23:46 | jghali | Note Added: 0046736 | |
2019-10-04 23:52 | davidrevoy | Note Added: 0046737 | |
2019-10-05 14:06 | jghali | Note Added: 0046738 | |
2019-10-05 14:06 | jghali | Summary | Import of Tiff files: missing resolution/dpi/ppi => Import of Tiff files: the default resolution unit should be "per inch" |
2019-10-05 14:06 | jghali | Steps to Reproduce Updated | |
2019-10-05 14:07 | jghali | Assigned To | => jghali |
2019-10-05 14:07 | jghali | Status | new => resolved |
2019-10-05 14:07 | jghali | Resolution | open => fixed |
2019-10-05 14:07 | jghali | Fixed in Version | => 1.5.6.svn |
2019-10-05 17:47 | davidrevoy | Note Added: 0046739 | |
2019-12-08 21:24 | cbradney | Status | resolved => closed |