img blend

Blends two images together using the specified blend mode. Here the base layer is the bottom layer, and the blend layer the top.

--modes
List all available modes
--opacity <n>
Opacity of blend image layer (default: 1.0)
--fit
Fit the blend layer to the base layer, may result in loss of quality

The other flags allow you to select the blend mode used.

--normal
Selects the blend image
--dissolve
Randomly selects the blend image, depending on its opacity
--darken
Selects the darkest value for each colour channel
--multiply
Multiplies each colour channel
--burn
Darkens the base image to increase contrast
--linear-burn
Adds the blend colour to the base colour, then subtracts white
--darker
Selects the darkest colour by comparing the sum of channels
--lighten
Selects the lightest value for each colour channel
--screen
Multiplies the inverse of each colour channel
--dodge
Brightens the base image to decrease contrast
--linear-dodge
Adds the blend colour to the base colour
--lighter
Selects the lightest colour by comparing the sum of channels
--overlay
Multiplies or screens the colours, depending on the base colour
--soft-light
Darkens or lightens the colours, depending on the blend colour
--hard-light
Multiplies or screens the colours, depending on the blend colour
--vivid-light
Linear burns or dodges to colours, depending on the blend colour
--pin-light
Replaces the colours, depending on the blend colour
--hard-mix
Makes all pixels red, green, blue, white or black
--difference
Finds the absolute difference between the base and blend colour
--exclusion
Creates an effect similar to, but lower in contrast than, difference
--subtraction
Subtracts the blend colour from the base colour
--hue
Uses just the hue of the blend colour
--saturation
Uses just the saturation of the blend colour
--color
Uses just the hue and saturation of the blend colour
--luminosity
Uses just the luminosity of the blend colour