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
File details
Details for the file funcnodes_images-0.2.1.tar.gz
.
File metadata
- Download URL: funcnodes_images-0.2.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cad013db18c659471efcee3219c504887984c12923c79c5d4dc241f49219478 |
|
MD5 | e3d691eb61a467cea51a6e16df74fed6 |
|
BLAKE2b-256 | d2df47c53a36f361a6a64787551df214e3f90b4fd35f8b592511a2d9587a66e4 |
File details
Details for the file funcnodes_images-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: funcnodes_images-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd6425fc3244bdd92d3e96a19e59027e3c2ed6ce0a72777d1cf8816e91dbefe9 |
|
MD5 | 64290c39a8a910b65045dec9f13be671 |
|
BLAKE2b-256 | 08f4c5943326e42710a3e4363969c978a37701d05e854a2e3d63e8ed13edde81 |