Performs user-specified image manipulation with given images. Writes resultant image to stdout.
Tested on a 64-bit Artix Linux using GCC 12.1, CMake 3.23, and Conan 1.48.
- build
conan install -if build --build outdated . && cmake -B build --preset release && cmake --build build
- install
sudo cmake --install build
note: default prefix (/usr/local
) can be overridden with--prefix <dir>
SYNOPSIS imfx <cmd> <imgs>... EXAMPLES imfx 0.ft(1920x1080) img # fit img into 1920x1080 area imfx 0.fl(1920x1080) img # fill 1920x1080 area with img imfx 0.pi(1) img0 img1 # place img1 amid img0 imfx 0.gb(425) img # blur img with gaussian kernel ฯ=4.25 # put img amid a blurred background cover imfx 0.fl(1920x1080).gb(425).pi(0.ft(1920x1080)) img