Basic functionalities to work with images in Funcnodes
Project description
FuncNodes Images
Overview
funcnodes-images is an extension of the FuncNodes framework that provides nodes for image manipulation and processing. It supports operations like resizing, cropping, and scaling images, and it integrates seamlessly with FuncNodes computational graphs. This package supports image formats such as PillowImageFormat and NumpyImageFormat, enabling flexibility in handling images via PIL and NumPy.
Installation
Install the package using:
pip install funcnodes-images
Getting Started
To begin using funcnodes-images, you will need to have the core FuncNodes framework installed and set up. Please refer to the FuncNodes documentation for details.
Example Usage
You can integrate the image nodes into your FuncNodes workflows by connecting inputs and outputs between nodes to perform tasks such as resizing, cropping, or converting images between formats.
Custom Image Formats
This package provides PillowImageFormat and NumpyImageFormat to handle images using the Pillow and NumPy libraries respectively. You can register your custom image formats by utilizing the register_imageformat function.
from funcnodes_images import register_imageformat, ImageFormat
# Custom image format example
class CustomImageFormat(ImageFormat):
# Define custom format logic here
register_imageformat(CustomImageFormat, 'custom')
Contribution
You are welcome to contribute to this project by submitting pull requests, adding new nodes, fixing bugs, or enhancing the documentation.
License
This project is licensed under the MIT License.
Contact
For any questions or issues, please open an issue on the GitHub repository.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file funcnodes_images-0.2.6.tar.gz.
File metadata
- Download URL: funcnodes_images-0.2.6.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e5be6a4acb936d787367c8405e7375f2580f77641ba18d62dc172355f67b789
|
|
| MD5 |
c41fbba19b4a740c07e30ce3183fc23b
|
|
| BLAKE2b-256 |
d90409bfbc60d4fe960bc1d88bf62b7afc8054a14dfdfb670ba60b94f695d808
|
Provenance
The following attestation bundles were made for funcnodes_images-0.2.6.tar.gz:
Publisher:
version_publish_main.yml on Linkdlab/funcnodes_images
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
funcnodes_images-0.2.6.tar.gz -
Subject digest:
8e5be6a4acb936d787367c8405e7375f2580f77641ba18d62dc172355f67b789 - Sigstore transparency entry: 188779523
- Sigstore integration time:
-
Permalink:
Linkdlab/funcnodes_images@28cd987f13a5c41a03f0ec5bef9e0b2bdaac6798 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Linkdlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
version_publish_main.yml@28cd987f13a5c41a03f0ec5bef9e0b2bdaac6798 -
Trigger Event:
push
-
Statement type:
File details
Details for the file funcnodes_images-0.2.6-py3-none-any.whl.
File metadata
- Download URL: funcnodes_images-0.2.6-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ac44efddb4904cb9d3d5c59dfe20b45affa0c728ca57af38df9d60cf7d9060a
|
|
| MD5 |
d2973feb5422ddec93724dffdb00c799
|
|
| BLAKE2b-256 |
a2de00b128e87b724ce9b741da0fd876fac4b0e5de9e0a93a4870ce6faf88c2c
|
Provenance
The following attestation bundles were made for funcnodes_images-0.2.6-py3-none-any.whl:
Publisher:
version_publish_main.yml on Linkdlab/funcnodes_images
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
funcnodes_images-0.2.6-py3-none-any.whl -
Subject digest:
9ac44efddb4904cb9d3d5c59dfe20b45affa0c728ca57af38df9d60cf7d9060a - Sigstore transparency entry: 188779530
- Sigstore integration time:
-
Permalink:
Linkdlab/funcnodes_images@28cd987f13a5c41a03f0ec5bef9e0b2bdaac6798 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Linkdlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
version_publish_main.yml@28cd987f13a5c41a03f0ec5bef9e0b2bdaac6798 -
Trigger Event:
push
-
Statement type: