Tile an image across a PDF page for print-ready output.
Project description
ImageTyler
ImageTyler tiles a source image across a PDF page for print-ready output. Entirely vibe-coded, but reviewed and tested by humans. It supports mixed-unit dimensions, padding, and cutting guides.
Installation
Install as a standalone tool with uv:
uv tool install imagetyler
Add it as a dependency in your project:
uv add imagetyler
CLI Usage
Basic usage:
imagetyler photo.jpg --size 35x45mm --paper A4
ImageTyler accepts mixed-unit dimensions and inherits missing units from either side of the WxH expression. These all work:
imagetyler photo.jpg --size 35x45mm --paper 210x297mm
imagetyler photo.jpg --size 35mmx45 --paper Letter
imagetyler photo.jpg --padding 2mm --landscape --border
Useful flags include --padding for spacing between tiles, --landscape for rotating the target page, and --border with --border-width for cutting guides.
Use --list-units to inspect supported measurement units and --list-paper to list recognized paper aliases.
API Usage
from pathlib import Path
from imagetyler import generate_tiled_pdf
output = generate_tiled_pdf(
image_path=Path("photo.jpg"),
output_pdf=Path("tiled_output.pdf"),
paper="A4",
image_size="35x45mm",
padding="2mm",
)
print(output)
License
ImageTyler is distributed under the BSD-3-Clause license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imagetyler-1.0.1.tar.gz.
File metadata
- Download URL: imagetyler-1.0.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2a5574ba5cafa32f6d8b54541556ef25cca19e0b4f65cb35532619b684a96b
|
|
| MD5 |
9f32f76955d178351e57cfeb20c7bdd3
|
|
| BLAKE2b-256 |
7a58bfa370e8a6e6a1d7c73233d1835227c95d82fe8d939cbf7e3720d09e43e3
|
Provenance
The following attestation bundles were made for imagetyler-1.0.1.tar.gz:
Publisher:
python-publish.yml on adityaruplaha/ImageTyler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imagetyler-1.0.1.tar.gz -
Subject digest:
bb2a5574ba5cafa32f6d8b54541556ef25cca19e0b4f65cb35532619b684a96b - Sigstore transparency entry: 2131110049
- Sigstore integration time:
-
Permalink:
adityaruplaha/ImageTyler@7958e73eaab27b4de05803dbfb0ea9212b3bf5ee -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/adityaruplaha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7958e73eaab27b4de05803dbfb0ea9212b3bf5ee -
Trigger Event:
release
-
Statement type:
File details
Details for the file imagetyler-1.0.1-py3-none-any.whl.
File metadata
- Download URL: imagetyler-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03113e57568fd38a371d2669fa554cb7580adde2c367866fd57c2cee0d0e29ec
|
|
| MD5 |
04850533e277cc77bf9eaa49b95a0af4
|
|
| BLAKE2b-256 |
a49cf3fe7341361ae9ad5ea2c12e1467faeed5ff74d2d64d266f12a0fd4f37ee
|
Provenance
The following attestation bundles were made for imagetyler-1.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on adityaruplaha/ImageTyler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imagetyler-1.0.1-py3-none-any.whl -
Subject digest:
03113e57568fd38a371d2669fa554cb7580adde2c367866fd57c2cee0d0e29ec - Sigstore transparency entry: 2131110077
- Sigstore integration time:
-
Permalink:
adityaruplaha/ImageTyler@7958e73eaab27b4de05803dbfb0ea9212b3bf5ee -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/adityaruplaha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7958e73eaab27b4de05803dbfb0ea9212b3bf5ee -
Trigger Event:
release
-
Statement type: