package camlimages
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Image processing library
Install
dune-project
Dependency
Authors
Maintainers
Sources
camlimages-5.0.4.tar.bz2
sha256=1c9a68bdc3d348c9f859d490dadf384926213e47a584159832f7fc4a20242865
md5=1ddba74d210b86a899b5d6565f45c2dc
doc/camlimages.core/Util/index.html
Module UtilSource
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)"
>