whitecrop3d
Description
- Crops unnecessary white background from images. Meant to be for 3D models previews.
- Whitecrop3d was developed as temporary solution for problem of 3D graphics that was time expensive to solve. We worked on solving problem properly after this temporary solution was implemeneted.
Usage
- Install globaly:
$ sudo pip install whitecrop3d - Use:
$ whitecrop3d path/to/your/pngs
Preview
How it works
Do this for all images in path specified:
- Loads image
- Crops the image based on white background
- Adds background to match original 1024x768 resolution
- Saves image (inplace)
Notes for Developers
- for further github actions
Upload new version to PYPI
- increment version in
setup.pyfile - run
publish_to_pypi.sh, or manualy run:$ rm dist/*$ python3 -m build$ python3 -m twine upload dist/*
- note: github secret must be provided to authorize upload (not added to github repo yet)
Metadata
Release files for whitecrop3d 0.3.1
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 |
|---|---|---|---|---|
| whitecrop3d-0.3.1.tar.gz | 2.6 kB | Without provenance | Details for whitecrop3d-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whitecrop3d-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for whitecrop3d-0.3.1-py3-none-any.whl |
Total release size: 5.6 kB
Release files / whitecrop3d-0.3.1.tar.gz
| Download URL | whitecrop3d-0.3.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a44269d51f8631f755f0c2f0d0debf68c3b1144e906e19b5c202e1013b17c02
|
|
BLAKE2b-256 checksum How to use checksums |
8252bcaf523bda3beb86ba7bcdc20de5c0b531045274d9f4c61099f4440e19f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / whitecrop3d-0.3.1-py3-none-any.whl
| Download URL | whitecrop3d-0.3.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f9ef3e431d606ec59a5be89d55c0dd7a5133f95d9bd4e7472ffaa65d94abfd6
|
|
BLAKE2b-256 checksum How to use checksums |
e80262fe0f9aee2c5ff834abdc6408dc450278e09e490e3c929c06fe8b52643e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for whitecrop3d 0.3.1
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.