Your company here — click to reach over 10,000 unique daily visitors

enblend - Man Page

manual page for enblend 4.2


enblend [options] [--output=IMAGE] INPUT...


Blend INPUT images into a single IMAGE.

INPUT... are image filenames or response filenames.  Response filenames start with an "@" character.


Common options

-l,  --levels=LEVELS

limit number of blending LEVELS to use (1 to 29); negative number of LEVELS decreases maximum; "auto" restores the default automatic maximization

-o,  --output=FILE

write output to FILE; default: "a.tif"

-v,  --verbose[=LEVEL]

verbosely report progress; repeat to increase verbosity or directly set to LEVEL


set compression of output image to COMPRESSION, where COMPRESSION is: "deflate", "jpeg", "lzw", "none", "packbits", for TIFF files and 0 to 100, or "jpeg", "jpeg-arith" for JPEG files, where "jpeg" and "jpeg-arith" accept a compression level

Advanced options


force COLORSPACE for blending operations; Enblend uses "CIELUV" for images with ICC-profile and "IDENTITY" for those without and also for all floating-point images; other available blend color spaces are "CIELAB" and "CIECAM"

-c,  --ciecam

use CIECAM02 to blend colors; disable with "--no-ciecam"; note that this option will be withdrawn in favor of "--blend-colorspace"

-d,  --depth=DEPTH

set the number of bits per channel of the output image, where DEPTH is "8", "16", "32", "r32", or "r64"


manually set the size and position of the output image; useful for cropped and shifted input TIFF images, such as those produced by Nona


associated-alpha hack for Gimp (before version 2) and Cinepaint

-w,  --wrap[=MODE]

wrap around image boundary, where MODE is "none", "horizontal", "vertical", or "both"; default: none; without argument the option selects horizontal wrapping

Mask generation options

--coarse-mask[=FACTOR] shrink overlap regions by FACTOR to speedup mask

generation; this is the default; if omitted FACTOR defaults to 8


generate mask at full image resolution; use e.g. if overlap regions are very narrow


turn on mask optimization; this is the default; disable with "--no-optimize"


save generated masks in TEMPLATE; default: "mask-%n.tif"; conversion chars: "%i": mask index, "%n": mask number, "%p": full path, "%d": dirname, "%b": basename, "%f": filename, "%e": extension; lowercase characters refer to input images uppercase to the output image


use existing masks in TEMPLATE instead of generating them; same template characters as "--save-masks"; default: "mask-%n.tif"

--visualize[=TEMPLATE] save results of optimizer in TEMPLATE; same template

characters as "--save-masks"; default: "vis-%n.tif"

Expert options

-a,  --pre-assemble

pre-assemble non-overlapping images; negate with "--no-pre-assemble"


checkpoint partial results


use the ICC profile from PROFILE-FILE instead of sRGB


set the layer selector ALGORITHM; default: "all-layers"; available algorithms are: "all-layers": select all layers in any image; "first-layer": select only first layer in each (multi-)layer image; "last-layer": select only last layer in each (multi-)layer image; "largest-layer": select largest layer in each (multi-)layer image; "no-layer": do not select any layer from any image;


set one or more KEY-VALUE pairs

Expert mask generation options


use main seam finder ALGORITHM, where ALGORITHM is "nearest-feature-transform" or "graph-cut"; default: "graph-cut"


use ALGORITHM for calculation of the difference image, where ALGORITHM is "max-hue-luminance" or "delta-e"; LUMINANCE-WEIGHT and CHROMINANCE-WEIGHT define the weights of lightness and color; default: delta-e:1:1


set the optimizer's weigths for distance and mismatch; default: 8:1


set LENGTH of single seam segment; append "%" for relative value; defaults: 4 for coarse masks and 20 for fine masks


set annealing parameters of optimizer strategy 1; defaults: 0.75:7000:5:32


set search RADIUS of optimizer strategy 2; default: 25 pixels

Information options

-h,  --help

print this help message and exit

-V,  --version

output version information and exit


show all globbing algorithms


show all recognized image formats and their filename extensions


show who compiled the binary when and on which machine


show the software components with which Enblend was compiled

Enblend accepts arguments to any option in uppercase as well as in lowercase letters.



The OMP_NUM_THREADS environment variable sets the number of threads to use in OpenMP parallel regions.  If unset Enblend uses as many threads as there are CPUs.


The OMP_DYNAMIC environment variable controls dynamic adjustment of the number of threads to use in executing OpenMP parallel regions.


Written by Andrew Mihal, Christoph Spiel and others.

Reporting Bugs

Report bugs at <https://bugs.launchpad.net/enblend>.


April 2024 enblend 4.2