Bug 232391

Summary: PRINT : scaling images is broken
Product: [Applications] digikam Reporter: Anders Lund <anderslund>
Component: Plugin-Editor-PrintAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: anaselli, caulier.gilles
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:
Attachments: test results

Description Anders Lund 2010-03-27 20:47:42 UTC
Version:           unknown (using 4.4.1 (KDE 4.4.1), Chakra)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.32-ARCH

After several attempts of printing an image from digikam, i had to give up. It is simply not possible with KDE.

I use the standard print dialog
I print on a 10x15cm photo paper, printer set to full bleed 600 dpi color. The printer is a HP dj5550 and drivers are hpijs

In the print dialog, i tried to scale the image to a size fitting the paper (10x10.26cm), but then the image is cut on the sides, while vertically pressed. Same result printing to pdf with a custom page size of 10x15cm.

Then I tried printing to a 10x15cm pdf, using the default setting of adjusting the image to the paper. This gave a nice pdf.

Then I tried printing to the printer with same printer settings, but using the default adjustment. This resulted in cups sending something else than a 10x15 adjusted image to the printer.

Conclusion: I can not print a photo to a 10x15cm photo paper, full bleed, with KDE SC 4.

This was possible, and easy, with KDE 3 series. So this is a regression.
Comment 1 John Layt 2010-03-29 17:44:11 UTC
The Images tab is not part of the standard Qt or KDE print dialog, so must have been added by Digikam.  Reassigning.
Comment 2 caulier.gilles 2011-07-03 14:15:00 UTC
Do you use image editor or print wizard from kipi-plugins ?

Gilles Caulier
Comment 3 caulier.gilles 2011-12-13 09:36:56 UTC
Angelo,

Do you see this entry about printing options ?

Gilles Caulier
Comment 4 Angelo Naselli 2011-12-13 12:40:19 UTC
I will do some tests asap, Anders knows the pi code since he was one who developed old pw iirc. Anyway which version of digikam and kipi-plugins are we talking about?

I didn't have any problems in printing 10x15cm photos full bleed using my HP
in mageia 1 and digikam 1.9.0, until last ghostscript, but my problem is releated to output colors.

The cut of a part of image is because the "keep ratio" option is checked, if that is disabled should work instead (if bug-less :D ) 

There's a but though, i don't know if other printers got it, but certainly HP has, i can configure all using print-assistant o print-images, but at last i have to confirm again some print options because they were not passed correctly to cups driver.

Moreover there are some QT open issue (i reported upstream) concerning the QT printer config structures and more configured printers (such as page layout etc)...
Comment 5 caulier.gilles 2012-09-11 20:06:06 UTC
Angelo, Anders, John,

Whats news about this entry ?

Gilles Caulier
Comment 6 Angelo Naselli 2012-09-11 20:25:49 UTC
As far as i can say i can print. I need more info to understand if there is a problem in digikam or kipi plugins.
10x15 cm is my default printing here and i use a HP photosmart premium.
Comment 7 Anders Lund 2012-09-13 11:13:03 UTC
I have now tested with my hp 5550, and got the following results:
* scaling is respected, that is the size of the printed image is as expected
* autorotate does not rotate a landscape image so that it is printed with the long side of the image along the long side of the paper
* landscape mode in printer driver is equal to portrait + autorotate, image is not rotated and oddly placed on the A4 paper i used for this test.
* landscape mode in printer options + autorotate on is similar again
Comment 8 Anders Lund 2012-09-13 11:20:23 UTC
Created attachment 73885 [details]
test results

Here are my test prints, with the settings written on them...
Comment 9 Angelo Naselli 2012-09-16 21:19:58 UTC
hmm are you talking about image editor?
Anyway i saw problems with autorotation in print-images plugin, i think there is a regression and i have to investigate better there...
Comment 10 Anders Lund 2012-09-17 06:17:03 UTC
My tests was done from digikam album view.
Comment 11 caulier.gilles 2014-08-29 13:34:23 UTC
Problem still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 12 caulier.gilles 2016-07-04 20:07:50 UTC
This file still valid using digiKam 5.0.0 ?

Gilles Caulier
Comment 13 caulier.gilles 2016-11-25 20:05:55 UTC
What's about this file using digiKam AppImage bundle 5.4.0 pre release given at
this url :

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

Gilles Caulier
Comment 14 caulier.gilles 2020-08-03 05:01:37 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
Comment 15 Anders Lund 2020-08-03 07:09:17 UTC
I have stopped using digikam, because of its lack of safe file management, 
therefore I can not help. Also, I have not used digikams editor since years, 
because it lacks abilities to use masks and copy editing between images.

--

mandag den 3. august 2020 07.01.37 CEST skrev du:
> https://bugs.kde.org/show_bug.cgi?id=232391
> 
> --- Comment #14 from caulier.gilles@gmail.com ---
> 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