package camlimages

  1. Overview
  2. Docs
Image processing library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

camlimages-5.0.5.tar.gz
md5=84929b30257aa8e493dc84303768f400
sha512=b3774d2287e4a97082f0289766f5a79d3e75454a194d2d6400cee9cf926f7676d8eba4cb27221a98314461b7a81b4386b253f1d706a94447423394be89d2ed49

doc/camlimages.core/Blend/index.html

Module BlendSource

Color blending. Inspired from the implementation of Ghostscript

Sourcetype mode =
  1. | Normal
  2. | Multiply
  3. | Screen
  4. | Overlay
  5. | ColorDodge
  6. | ColorBurn
  7. | Darken
  8. | Lighten
  9. | Difference
  10. | Exclusion
Sourceval blend : mode -> int -> int -> int

blend blendmode src dst computes blending of one color component.

Sourceval f : mode -> int -> Color.rgb -> Color.rgb -> Color.rgb

f blendmode srcalpha src dst 8bit depth .

bug: no destination alpha support.