package mm

  1. Overview
  2. Docs
The mm library contains high-level APIs to create and manipulate multimedia streams (audio, video, MIDI)

Install

Dune Dependency

Authors

Maintainers

Sources

v0.8.5.tar.gz
md5=d2468f8ceecf97dd76a507bf94eba326
sha512=c5b8289d3603fa7d6adb3688bce539ae45ff920c1b587001b2c81ffabf4397f090d4de5c89d8d5251f0eb0b8a7b36ce0104a5a8001dcbfe82e0fbca30f965c64

doc/mm.video/Mm_video/Video/Image/index.html

Module Video.ImageSource

Images of videos.

Sourceval create : int -> int -> t
Sourceval of_RGB24_string : string -> int -> t
Sourceval to_int_image : t -> int array array

Convert to format useable by Graphics.make_image.

Sourceval copy : t -> t
Sourceval width : t -> int
Sourceval height : t -> int
Sourceval dimensions : t -> int * int
Sourceval size : t -> int

Size in bytes.

Sourceval blank : t -> unit
Sourceval has_alpha : t -> bool
Sourceval fill_alpha : t -> int -> unit
Sourceval scale : t -> t -> unit
Sourceval randomize : t -> unit
Sourceval blit : t -> t -> unit

blit_all src dst blits an entire image.

Sourceval get_pixel_rgba : t -> int -> int -> int * int * int * int
Sourceval set_pixel_rgba : t -> int -> int -> (int * int * int * int) -> unit
Sourceval add : t -> ?x:int -> ?y:int -> t -> unit

Add the fist image to the second.

Sourcemodule Effect : sig ... end
OCaml

Innovation. Community. Security.