Bug 257636 - add 35x45mm photo template for UK passports
Summary: add 35x45mm photo template for UK passports
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-PrintCreator (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 19:49 UTC by Oliver Henshaw
Modified: 2017-07-04 03:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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