Bug 131582

Summary: Add support for DPI-information in files when printing
Product: [Applications] digikam Reporter: MaxiPunkt <maxantispam>
Component: Plugin-Editor-PrintAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 3.5.0   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Sample PNG-file - Size: 15cmx20cm

Description MaxiPunkt 2006-07-31 12:22:56 UTC
Version:           0.3.1 (using KDE KDE 3.4.2)
Installed from:    Mandriva RPMs

Graphics-file formats like PNG, JPG, TIFF, etc. are able to hold the DPI-information from a picture.

Therefore it should be possible in an easy way to do a 1:1 printout.

To test this I've made a sample PNG-file which should be printed in size 15cm x 20cm.
I added black border lines to be able to check the printout-size with a simple ruler.

DPI--Resolution stored in graphics-file: 300dpi
Width: 1.772 Pixel => 15,0cm (5,91")
Lenth: 2.362 Pixel => 20,0cm (7,87")

With ShowFoto / ImageEditor it is impossible to use this DPI-information stored in the graphics-file for print-outs:

Print-option "Automatic scale":  Picture will be re-sized to fit in page.
Print-option "Print exact size": Size of picture has to be MANUALLY typed in.

There is no possibility to have automatic 1:1 printouts (or scaled printouts, i.e. 50%/200%, etc.) in ShowFoto / ImageEditor!
Comment 1 MaxiPunkt 2006-07-31 12:24:00 UTC
Created attachment 17182 [details]
Sample PNG-file - Size: 15cmx20cm
Comment 2 caulier.gilles 2011-12-16 11:02:36 UTC
Max,

this file still valid using digiKam 2.x serie ?

Gilles Caulier
Comment 3 MaxiPunkt 2011-12-16 15:46:36 UTC
Sorry, can't test atm, as digikam crashes at program-start

Starting from Konsole looks like this:
$ digikam
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)

I'm using Fedora 16 (i386) with digikam 2.3.0 & KDE SC 4.7.3 now.
Comment 4 MaxiPunkt 2012-01-02 09:02:51 UTC
Digikam/showfoto is working again for me.

So this bug is still valid with digikam/showfoto 2.4.1

I don't have a visible printout on a DIN A4-page with the PNG-file of comment #1 unless I choose the print-option to fit a picture in page.
Comment 5 caulier.gilles 2016-12-01 13:47:01 UTC
Can you reproduce the problem using digiKam Linux AppImage bundle ? The last
bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 6 caulier.gilles 2020-08-03 05:00:38 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier