Summary: | Add support for different size printwizard templates | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | HectorG <hectorg> |
Component: | Plugin-Generic-PrintCreator | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | amessina, caulier.gilles, hectorg, imaging-bugs-null, kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.7.0 | |
Sentry Crash Report: |
Description
HectorG
2009-03-29 21:42:35 UTC
I would also like the ability to print wallet sized photos on a US Letter sheet. Currently, the closest thing I can get is to choose A4 as the paper size and use 6cm x 9cm (which is slightly different than a "wallet" size. Please add "Wallet Sheet" or something like that to the US Letter page options. my idea is to add a user interface that allow custom page layout. I can't work at it at the moment because in finishing something on print images. It's in my todo list and i'll start coding as soon as possible. Anyway Anthony (comment #1) if you can add here wallet layout on US letter page (inches are ok) I could add it statically quicker than user layout... (In reply to comment #2) > my idea is to add a user interface that allow custom page layout. I can't work > at it at the moment because in finishing something on print images. It's in my > todo list and i'll start coding as soon as possible. > Anyway Anthony (comment #1) if you can add here wallet layout on US letter page > (inches are ok) I could add it statically quicker than user layout... Ok, the standard US Letter page is 8.5" x 11". The standard "Wallet" photo (to make best use of the page) is 2-1/3" x 3-1/3". (All units given are in inches). The layout would be 3 "Wallets" wide x 3 "Wallets" tall. Ideally, the "Wallets" should be laid out in such a way that when a person cuts them out from an 8.5" x11" piece of paper, they only need to make one cut between photos, so the photos are place immediately next to each other horizontally and vertically, with the whole block of Wallets centered on the page (to account for any printer margins). It is also often desirable to have 1-2px of line, crop mark, or margin between each adjacent photo so the cutter can easily distinguish between photos when the backgrounds are similar. here is the patch for what angelo asked Index: printimages/wizard.cpp =================================================================== --- printimages/wizard.cpp (révision 988099) +++ printimages/wizard.cpp (copie de travail) @@ -358,6 +358,29 @@ // add to the list d->m_photoSizes.append ( p ); + // ========== 2-1/3" x 3-1/3" + p = new TPhotoSize; + p->label = i18n ( "2-1/3\" x 3-1/3\" " ); + p->dpi = 0; + p->autoRotate = true; + // page size + p->layouts.append ( new QRect ( 0, 0, 8500, 11000 ) ); + // photo layouts + p->layouts.append ( new QRect ( 333, 333, 2333, 3333 ) ); + p->layouts.append ( new QRect ( 2999, 333, 2333, 3333 ) ); + p->layouts.append ( new QRect ( 5665, 333, 2333, 3333 ) ); + + p->layouts.append ( new QRect ( 333, 3999, 2333, 3333 ) ); + p->layouts.append ( new QRect ( 2999, 3999, 2333, 3333 ) ); + p->layouts.append ( new QRect ( 5665, 3999, 2333, 3333 ) ); + + p->layouts.append ( new QRect ( 333, 7665, 2333, 3333 ) ); + p->layouts.append ( new QRect ( 2999, 7665, 2333, 3333 ) ); + p->layouts.append ( new QRect ( 5665, 7665, 2333, 3333 ) ); + + // add to the list + d->m_photoSizes.append ( p ); + // ========== 4 x 6 p = new TPhotoSize; p->label = i18n ( "4 x 6\"" ); Nicolas, For me, this patch sound fine. Try to contact Angelo directly by mail to see if he is agree to apply this patch in svn. Note : 0.4.0 release is planed for this week end. Gilles SVN commit 991432 by nlecureuil: Add support for 2-1/3" x 3-1/3" pictures CCBUG:188426 CCMAIL:anaselli@linux.it M +23 -0 wizard.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=991432 Angelo, How do I try this out is it just replacing a file on my computer with this one? Should I be able to emerge this already? Hector (comment #7), unfortunately you have to rebuild kipi-plugins from svn... Maybe with Nicolas we can patch 0.4.0 but only form Mandriva... i will add this on mandriva today SVN commit 1000166 by anaselli: Added page layout template file, thanks to Andreas Trink Now users can add their own template CCMAIL: atrink@nociaro.org, kde-imaging@kde.org BUG: 188426 M +4 -0 CMakeLists.txt M +1 -7 TODO A templates (directory) A templates/10.5x14.8cm.desktop A templates/10x13.33cm.desktop A templates/10x15cm.desktop A templates/10x15cmAlbum.desktop A templates/11.5x15cmAlbum.desktop A templates/13x18cm.desktop A templates/20x25cm.desktop A templates/21x29.7cm.desktop A templates/3.5x5.desktop [TRAILING SPACE] A templates/4x6.desktop [TRAILING SPACE] A templates/4x6Album.desktop A templates/5x7.desktop [TRAILING SPACE] A templates/6x9cm.desktop A templates/8x10.desktop [TRAILING SPACE] A templates/9x13cm.desktop A templates/Album-Collage.desktop A templates/Album-Collage1.desktop A templates/Photoframe.desktop A templates/Small-Thumbnails.desktop A templates/Thumbnails.desktop A templates/templates.xml M +146 -432 wizard.cpp M +1 -1 wizard.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1000166 With new PrintCreator from digiKam core version 5.7.0, the problem is not reproducible. Gilles Caulier |