Skip to main content

3D Ninjas | Blender Image Preview (BIP) Library

Documentation

  1. Getting Started (this page)
  2. Install Pillow
  3. Reference
  4. More
  5. Development

What is 3DN BIP?

3DN BIP or 3D Ninjas Blender Image Preview is a library, which allows blazingly fast preview image loads in Blender. Furthermore, it can load preview images of arbitrary size. It operates as an bpy.utils.previews drop-in replacement and does all the heavy lifting for you.

Our library enables the following major use cases:

  1. Load preview images shipped as BIP images blazingly fast. We recommend this approach in case you can generate the images beforehand. In this case, your users don't need to take any action to enjoy the speed boost.
  2. Load regular JPEG or PNG preview images blazingly fast. Recommended in case you need to load images provided by the user or by external software tools. For that, we need Pillow on the user's system. It would be best if you use our prepared InstallPillow operator so that your users can enjoy the speed boost with a simple click.

Notes:

  1. Our library will always fall back to bpy.utils.previews if unsupported formats are to be loaded. For this reason, there is absolutely no disadvantage in using this library. In the worst case, we will apply the standard mechanism of Blender.
  2. .bip is a highly optimized image format, which can be transferred to Blender's internal data structures immediately. It is always blazingly fast, whether Pillow is installed or not.

Examples

Download the following sample addons. You can easily install the ZIP files in Blender via the addon preferences tab.

Library

The latest release of the library can be downloaded here: t3dn_bip.zip

Just extract the zip file and copy the folder into your addon. Take a closer look at the examples given above to learn how to use the library.

In case you want to install the library via PyPI, you can use the following command:

python -m pip install t3dn-bip

Converter

The converter is provided via PyPI. Use the following command for the installation:

python -m pip install t3dn-bip-converter

Use the following command to convert images of various formats into the BIP format:

python -m t3dn_bip_converter source_file.png destination_file.bip

Who is using 3DN BIP?

3DN BIP is a new library and is currently being integrated into various addons. The following addons have already been released with 3DN BIP.

KIT OPS

Metadata

Release files for t3dn-bip-converter 1.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for t3dn-bip-converter 1.0.11
File Interpreter ABI Platform Actions
t3dn_bip_converter-1.0.11-py3-none-any.whl Python 3 none any Details for t3dn_bip_converter-1.0.11-py3-none-any.whl

Release files / t3dn_bip_converter-1.0.11-py3-none-any.whl

Download URL t3dn_bip_converter-1.0.11-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
177ee56cc28ccb513acc7390a8be6dc776a2a48f1843bfe7944761ee6a6c0a28
BLAKE2b-256 checksum
How to use checksums
274959539a12d4c584e8172bd7abe2857ad571994764a5c5852611992ebefacf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for t3dn-bip-converter 1.0.11

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.

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