Skip to main content

ImageIO FreeImage

CI

Warning

This repo is licensed under the FreeImage Open Source Dual-License and not the typical BSD-2 license we use for everything else. Check out the LICENSE document in this repo and make sure you understand the consequences.

ImageIO FreeImage is a ImageIO plugin for the FreeImage library. In other words, it allows using FreeImage with ImageIO.

Installation

pip install imageio-freeimage
python -c "imageio.plugins.freeimage.download()"

Usage (and Examples)

To use it simply import the library. It will auto-register with ImageIO.

import imageio.v3 as iio
import imageio_freeimage

img = iio.imread("imageio:chelsea.png", plugin="PNG-FI")

Why ImageIO FreeImage

Based on discussions over at ImageIO's main repository, we have decided to spin out the FreeImage plugin. This was done for two reasons

  1. It is/was unclear how permissible the FreeImage license is, how exactly it interacts with BSD (ImageIO's license), and what that means for downstream users who don't need FreeImage. Instead of having to deal with the fallout of this interaction, we decided to spin out the FreeImage plugin. This way, users don't have to worry, unless they explicitly need FreeImage, in which case they will likely be aware of how FreeImage is licensed, and what it means for their project.

  2. The FreeImage bindings we provide are based on ctypes. In many cases this is not a problem; however, for some users it causes complications, because they, for example, use pypy or other non-cpython interpreters or they want to complile their python code in a browser via pyodide. Those use-cases are more prone to problems when ctypes are involved and having them in a dedicated optional dependency make this situation easier.

  3. We can add plumbing to compile FreeImage in CD and ship it precompiled without the need for any post-install actions.

Metadata

Release files for imageio-freeimage 0.1.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 imageio-freeimage 0.1.1
File Size Uploaded
imageio_freeimage-0.1.1.tar.gz 29.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imageio-freeimage 0.1.1
File Interpreter ABI Platform
imageio_freeimage-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details

Total release size: 60.2 kB

Release files / imageio_freeimage-0.1.1.tar.gz

Download URL imageio_freeimage-0.1.1.tar.gz
Size 29.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e2b40ac6de4a4e391a2865a0753476d4de96be6a19c2166d13a59e60c68e40d1
BLAKE2b-256 checksum
How to use checksums
56f8d5ff8a1a39427545b36560a321c215300471024460b07e810e6dab24b15d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.10.0 Windows/10

Release files / imageio_freeimage-0.1.1-cp310-cp310-win_amd64.whl

Download URL imageio_freeimage-0.1.1-cp310-cp310-win_amd64.whl
Size 30.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
4dc915356ad92ab51f7003b0767c578ec79736c514781cb3e08fcd10a1473925
BLAKE2b-256 checksum
How to use checksums
1827297f368a388b77addc22f43808c57f84802a5723d94510fb2fda6d4a85e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.10.0 Windows/10

Release history Release notifications | RSS feed

This release

0.1.1 This release

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