Crops unnecessary white background from images. Meant to be for 3D models previews.
Project description
# 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: $ pip install whitecrop3d - Use: $ python3 -m whitecrop3d path/to/pngs ## How it works Do this for all images in path specified: 1. Loads image 2. Crops the image based on white background 3. Adds background to match original 1024x768 resolution 4. Saves image (inplace) ## Notes for Developers ### Upload new version to PYPI - increment version here in setup.py` file - $ python3 -m build - $ python3 -m twine upload dist/*
Project details
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
Hashes for whitecrop3d-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d5e69116770b156fea86cc747386d4425f58299b8f125e0583fc81f038b806 |
|
MD5 | c98d5f08098e9575cda906943c209c2e |
|
BLAKE2b-256 | b82bcc1a32ec03a8beb3762c0c01d5826e5cecd8f0900b72b4033c6a8b42e606 |