1
0
Fork 0
forked from josch/plakativ
No description
Find a file
josch 4f5a2e9ae6 Merge branch 'patch-1' into 'master'
Fix Issue #7, unit conversion bug.

Fixes #7 where inches to mm was accidentally inverted.

See merge request !2
2020-11-23 07:55:23 +00:00
.travis.yml .travis.yml: bump windows python version to 3.9 2020-10-31 08:19:57 +01:00
appveyor.yml rename test.py -> plakativ_test.py so that pytest finds it automatically 2020-06-10 00:38:06 +02:00
CHANGELOG.rst release version 0.3 2020-06-10 00:46:11 +02:00
de.mister-muffin.plakativ.desktop de.mister-muffin.plakativ.desktop: add keywords entry 2020-06-19 16:57:12 +02:00
demo.gif README.md: improve 2019-07-04 12:03:30 +02:00
layout.gif README.md improvements 2019-07-17 12:01:20 +02:00
LICENSE initial commit 2019-07-01 01:39:09 +02:00
plakativ.appdata.xml add plakativ.appdata.xml, plakativ.svg, and de.mister-muffin.plakativ.desktop 2020-06-10 00:36:31 +02:00
plakativ.py Merge branch 'patch-1' into 'master' 2020-11-23 07:55:23 +00:00
plakativ.svg add plakativ.appdata.xml, plakativ.svg, and de.mister-muffin.plakativ.desktop 2020-06-10 00:36:31 +02:00
plakativ_test.py call fitz.close() after processing 2020-10-31 08:37:45 +01:00
README.md add --cover-page, --cutting-guides, --page-numbers and --poster-border (closes: #2) 2020-06-20 01:44:47 +02:00
setup.py release version 0.3 2020-06-10 00:46:11 +02:00
tox.ini initial commit 2019-07-01 01:39:09 +02:00

Travis Status Appveyor Status

plakativ

Plakativ is German for "striking" or "eye-catching" and comes from the German word "Plakat" which means poster in English.

This software allows one to stretch a PDF document or raster image across multiple pages that can then be printed on a common inkjet or laser printer, cut and glued together into a larger poster.

Features

Plakativ allows one to create a poster using one of three different approaches:

  • I want a poster that fits into size X
  • I want a poster Y times the input page page area
  • I have Z pages of paper and want to print the biggest possible poster on them

Plakativ works on Windows, Linux and MacOS. It offers a GUI based on tkinter, a command line interface and can be used as a Python module. Everything is inside a single file.

Demo

The demo shows a user choosing between the three different ways to define the poster size. Either by picking a size that the input will be fit into, by multiplying the area of the input page or by maximizing the poster size, given a number of pages one is willing to print on.

Installation

Plakativ is available from pypi: https://pypi.org/project/plakativ/

Thus you can just run pip install plakativ on your platform of choice.

For Microsoft Windows users, PyInstaller based .exe files are produced by appveyor. If you don't want to install Python before using plakativ you can head to appveyor and click on "Artifacts" to download the latest version: https://ci.appveyor.com/project/josch/plakativ

Complex Layouter

Oftentimes there is a way to create a poster of a specific size with less pages than would be needed with a regular arrangement of pages into rows and columns. For regular poster sizes, a more complex layout can save up to 3 or 5 pages of paper. If the regular simple layout and the complex layout require the same number of pages for a particular poster size, then plakativ will fall back to the simple layout. The following animation shows the complex layout that plakativ chooses when asked to produce the largest possible poster using X pages. The number of pages X can be seen in the center.

Bugs

https://gitlab.mister-muffin.de/josch/plakativ/issues

TODO

While basic functionality is implemented, lots of work remains to be done:

  • help button
  • changing units
  • changing language
  • make PyMuPDF dependency optional
  • optionally, use pypdf2 to read/write PDF
  • improve module interface

Comparison to similar software

PosteRazor

http://posterazor.sourceforge.net/

PosteRazor served as the inspiration for this software. But in contrast to PosteRazor, plakativ allows PDF documents as input and outputs PDF document with the exact same quality as the input. It is thus not necessary anymore to first do a lossy rasterization of an input PDF so that one can work with PosteRazor.

pdfposter

https://pdfposter.readthedocs.io/en/stable/

  • no GUI
  • cumbersome box definition
  • no page borders for gluing
  • superfluous empty pages
  • only very simple layouter
  • scaling by width/height instead by area makes doubling unintuitive