package camlimages
Image processing library
Install
Dune Dependency
Authors
Maintainers
Sources
camlimages-5.0.3.tar.bz2
sha256=b8203da78a9733488e40fafccfafb874c9ebafd8a5f1fa1d9a46ae2ac241e97a
md5=7dd5aa1944d01d2e908d4caa1e1bba78
doc/camlimages.core/Util/index.html
Module Util
Source
Bytes and Strings
In 4.02.0, s.[i] <- c
becomes deprecated and this is very frustrating for CamlImages.
We introduce (<<)
and replace them by s << i & c
.
equivalent with Bytes.set
equivalent with Bytes.unsafe_set
range_check bs from to_
raises Invalid_argument "index out of bounds"
when from
and to_
are invalid range for bs
.
equivalent with Array.unsafe.get
s @% p = Char.code @@ Bytes.get s p
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>