package imagelib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Library implementing parsing of image formats such as PNG, BMP, PPM
Install
dune-project
Dependency
Authors
Maintainers
Sources
imagelib-20221222.tbz
sha256=050d935711a5a5cead7a6b5e2bce13297a71d0cb47652ca42ff4e328df7118fd
sha512=28dae756945adb1c6a348d5c3e61840af7efb8df16c56bdf09ee4c69231774f169384f822359999ab315cc11634392dc4811ba932479aa1fdb78d25100b6733d
doc/imagelib/Image/index.html
Module ImageSource
create_rgb ?alpha ?max_val width height is an RGB image of dimensions width * height. Raises Invalid_argument if width or height are negative, or if max_val is not in the range [1;65535].
create_rgb ?alpha ?max_val width height is a greyscale image of dimensions width * height. Raises Invalid_argument if width or height are negative, or if max_val is not in the range [1;65535].
fill_rgb ?alpha image r g b overwrites image with r,g,b colors. TODO
copy image is a copy of image backed my a new memory allocation, so that the mutations of either copy are independent of each other
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>