mirror of
https://github.com/lovell/sharp.git
synced 2026-02-09 16:16:16 +01:00
Add experimental overlayWith API
Composites an overlay image with alpha channel into the input image (which must have alpha channel) using ‘over’ alpha compositing blend mode. This API requires both images to have the same dimensions. References: - http://en.wikipedia.org/wiki/Alpha_compositing#Alpha_blending - https://github.com/jcupitt/ruby-vips/issues/28#issuecomment-9014826 See #97.
This commit is contained in:
committed by
Lovell Fuller
parent
c886eaa6b0
commit
64f7f1d662