Polyfoto
Create image mosaics.
Showcase
| "Before and After Science" by Brian Eno | "Scott 3" by Scott Walker |
|---|---|
Installation
Clone this repository to your local machine with git, then install with Python.
git clone https://github.com/shanedrabing/polyfoto.git
cd polyfoto
python setup.py install
Getting Started
Run the program with Python.
python polyfoto.py -f input.png -d sources -o output.png -n 16
Required arguments
-f: Input file name. This is the target to recreate.-d: Input folder name. Contains images used to recreate the target.-o: Output file name. Name of the rendered canvas.-n: Number of rows. How many rows of images should be used in recreation?
Optional arguments
-p: Proportional center of construction. 0 being the top of the canvas, 1 being the bottom.-c: Proportional chance to consume image. 0 means no image is consumed, 1 each image always consumed-s: Rescaling factor. Normally 4x target size.-t: Pixel height of thumbnails. Used for the math operations, 16px height by default.-x: Output folder name for thumbnails. "tmp" by default.
License
Metadata
Release files for polyfoto 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| polyfoto-0.3.0.tar.gz | 2.6 kB | Without provenance | Details for polyfoto-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polyfoto-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for polyfoto-0.3.0-py3-none-any.whl |
Total release size: 6.0 kB
Release files / polyfoto-0.3.0.tar.gz
| Download URL | polyfoto-0.3.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4223c3f96e46a03b4009921e0f46b08c9725aeea1c4e4f46dea7a2f8d8e4171
|
|
BLAKE2b-256 checksum How to use checksums |
b4859298358ef7cbe69430190fb75567d3f83e8c3b8df0fe4e12053dc88c9e91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.8.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.10
|
Release files / polyfoto-0.3.0-py3-none-any.whl
| Download URL | polyfoto-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
644c266a7b113165187ab7f8add5e3568cc003415872b97c476eb66eb2ea4a35
|
|
BLAKE2b-256 checksum How to use checksums |
993006d7d66ecf11351cd37a4ad4fa75b06d7973a3e955f88db69f9d0404c61c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.8.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.10
|
Security for polyfoto 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.