Bug 257636

Summary: add 35x45mm photo template for UK passports
Product: [Applications] digikam Reporter: Oliver Henshaw <oliver.henshaw>
Component: Plugin-Generic-PrintCreatorAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: anaselli, caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Sentry Crash Report:

Description Oliver Henshaw 2010-11-22 19:49:32 UTC
Version:           1.5.0 (using KDE 4.5.3) 
OS:                Linux

I used the print images wizard to print some passport photos but didn't see an option for 35x45mm photos - the size required for passport photos in the UK. I made a template for this before noticing the custom option in the wizard.

The template I used is pasted below:
$ cat ~/.kde/share/apps/kipiplugin_printimages/templates/templates.xml 
<templates>
        <paper name="passport-uk" width="90" height="150" unit="mm" >
                <template name="6_photos_3.5x4.5cm" dpi="0" autorotate="true">
                        <photo x="10" y="3"  width="35" height="45" />
                        <photo x="55" y="3"  width="35" height="45" />
                        <photo x="10" y="53" width="35" height="45" />
                        <photo x="55" y="53" width="35" height="45" />
                        <photo x="10" y="103" width="35" height="45" />
                        <photo x="55" y="103" width="35" height="45" />
                </template>
        </paper>
</templates>
$ cat ~/.kde/share/apps/kipiplugin_printimages/templates/6_photos_3.5x4.5cm.desktop
[Desktop Entry]
Name=Passport photos UK - 3.5x4.5cm (6 photos)

Even better would be to use the locale as a guide for which size photos to print. 

Reproducible: Always
Comment 1 Angelo Naselli 2012-01-22 21:01:40 UTC
Git commit fe569624a47ccfa7acc6a41e9a28d91bca7feacc by Angelo Naselli.
Committed on 22/01/2012 at 22:00.
Pushed by anaselli into branch 'master'.

added 35x45mm photo template for UK passports

A  +2    -0    printimages/templates/6_photos_3.5x4.5cm.desktop
M  +14   -1    printimages/templates/templates.xml

http://commits.kde.org/kipi-plugins/fe569624a47ccfa7acc6a41e9a28d91bca7feacc