package imagelib
Library implementing parsing of image formats such as PNG, BMP, PPM
Install
Dune Dependency
Authors
Maintainers
Sources
imagelib-20210402.tbz
sha256=b3c8ace02b10b36b6c60b3ce3ae0b9109d4a861916ec320c59cc1194f4cc86e3
sha512=2be7badb07a98565383d2ec6dc00599269e1127ff6467fd5d4730030dc7cff8c06027e6b54643fcd012ec3317d322e80b88456249c883c3e0bebc25b4beb0fca
doc/imagelib/ImageGIF/index.html
Module ImageGIF
Source
include Image.ReadImage
include Image.ReadImageStreaming
Source
val read_streaming :
ImageUtil.chunk_reader ->
read_state option ->
Image.image option * int * read_state option
read_streaming io state
is an image frame, its suggested display time (in hundredths of a second; for animations), and optionally the state required to read the next frame.
The first invocation should pass state = None
to initialize a new reading context.
If the resulting read_state option
is None
, there are no more image frames available in io
. If it is Some st
, st
must be passed to the next invocation of read_streaming
.
include Image.WriteImage
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>