pibooth-template-chooser
Pibooth plugin letting guests choose the picture template on the wait screen.
The wait screen shows the selected template in place of the last picture:
the first capture of the last picture assembled again in the single photo page
of the template, or grey photo holders until a picture exists. A discreet
caption at the top gives its name and position in the list. Guests change the
template by swiping horizontally on the screen, by tapping the < > arrows
of the caption, or with the arrow keys. The chosen template is used for the
next pictures; the saved and printed picture is not changed.
The templates are the draw.io files of the
pibooth-picture-template
plugin, which must be installed (with pip install --no-deps to keep the
pibooth fork).
Configuration
[TEMPLATE_CHOOSER]
# Directory of the picture templates guests choose from on the wait screen
directory = ~/.config/pibooth/templates
Every *.xml file of the directory is offered. The template set in
[PICTURE] template is selected at startup when it belongs to the directory.
Template style
A template may come with a style file of the same name (hollywood.xml and
hollywood.cfg) giving the name displayed in the caption and the style of the
texts, which replaces the [PICTURE] values while the template is selected:
[TEMPLATE]
name = Hollywood
text_colors = ((255, 255, 255), (230, 200, 205))
text_fonts = ('../fonts/Montserrat-Bold.ttf', '../fonts/Montserrat-SemiBold.ttf')
text_alignments = center
Relative font paths are resolved from the style file directory. Without a
style file, the name comes from the file name and the [PICTURE] style is kept.
The texts themselves (footer_text1, footer_text2) stay in pibooth.cfg,
shared by all the templates of an event.
Metadata
Release files for pibooth-template-chooser 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pibooth_template_chooser-1.0.0.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pibooth_template_chooser-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / pibooth_template_chooser-1.0.0.tar.gz
| Download URL | pibooth_template_chooser-1.0.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bc82cdea319788dfdd985cb61d867b9214f18458e178c76826345765a621f61
|
|
BLAKE2b-256 checksum How to use checksums |
66d15288302bf21ca20aad7e2e25e72aea41f1038e7ec0a762f105bff60f9c8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pibooth_template_chooser-1.0.0-py3-none-any.whl
| Download URL | pibooth_template_chooser-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26b5e25314a0d5729693811f8c103f71ebbc4269c73b1c345f4563b47eb079e7
|
|
BLAKE2b-256 checksum How to use checksums |
13a1be162bebdb8740c0c13028fa60f7d1c76cb09e26c4648005b3487215f46b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|