vImage.BlendMode.lighten
Sets each channel of the destination pixel as the lightest value for the corresponding channel of the two source layers
Declaration
case lightenDiscussion
The following image shows the result of compositing using the lighten blend mode:
[Image]
The top-left quadrant in the result is white because no pixels in the bottom layer are brighter than the corresponding pixels in the top layer.
The bottom-left quadrant in the result looks washed out because the operation selects gray pixels from the top layer over corresponding dark pixels from the bottom layer.