Skip to main content

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

Preview

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

  • for further github actions

Upload new version to PYPI

  • increment version in setup.py file
  • 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)

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)

Source distribution for whitecrop3d 0.3.1
File Size Uploaded
whitecrop3d-0.3.1.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for whitecrop3d 0.3.1
File Interpreter ABI Platform
whitecrop3d-0.3.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page