You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## CLI tool for performing logical, arithmetic, and bitwise operations on an image given a color.
1
+
# imgfx-cli
2
+
## Command-line front-end for my crate imgfx.
3
3
4
-
----------
5
-
## Features
6
-
- and, or, xor
7
-
- add, sub, div, mult
8
-
- Bitwise left & right
4
+
Provides configurable low-level operations (arithmetic, logical, bitwise) and high-level operations (bloom, blending modes, pixel sorting) for images.
9
5
10
-
- Standard in/out image for pipelines
11
-
- Customizable left and right-hand side of operations
12
-
- Negate the result of the logical operations with the -n flag
6
+
Functions:
7
+
8
+
add, sub, mult, div
9
+
bitshift left | right
10
+
and, or, xor (and their complements with -n flag)
11
+
screen, overlay, average
12
+
bloom
13
+
14
+
All functions support operand reordering, allowing precise control over how the image's color channels are processed. Operand reordering lets you redefine how the source image's R, G, and B channels are mapped during the operation.
15
+
16
+
Each function accepts an image::DynamicImage and returns an image::RgbaImage.
13
17
14
18
## Installation
15
19
16
-
To install `imgmod`, clone the repository and build it with `cargo`:
20
+
To install `imgfx-cli`, clone the repository and build it with `cargo`:
0 commit comments