Qoic.MetaImage metadata.
val v : color_space -> channels -> w:int -> h:int -> tv is image metadata with the given parameters. See accessors for semantics.
Raises Invalid_argument if w or h are not in the range of unsigned 32-bit integers.
val w : t -> intw m is the image width in pixels.
val h : t -> inth m is the image height in pixels.
val color_space : t -> color_spacecolor_space m is the image's colorspace.
val pixels_byte_length : t -> int optionpixels_byte_length m is the number of bytes needed to store the pixels of an image described by m. This is None if w m *
h m * channel_count (channels m) overflows.
val encodable : t -> boolencodable m is true iff m can be encoded by Qoic. This just checks that the allocated encoding buffer length does not overflow.
val pp : Stdlib.Format.formatter -> t -> unitpp ppf m formats an unspecified representation of m on ppf.