ImageBMP.BitmapMetaDatamodule HeaderVersion : sig ... endtype bitmap_info_header = {header_version : HeaderVersion.t;size : int;width : int;height : int;color_planes : int;bits_per_pixel : bits_per_pixel;compression_method : compression_method;image_data_size : int;horizontal_ppm : int;vertical_ppm : int;palette_colors : int;important_colors : int;}type bitfields = Bitfield.t * Bitfield.t * Bitfield.t * Bitfield.ttype t = {file_header : FileHeader.t;info_header : bitmap_info_header;bitfields : bitfields option;palette : string option;}val int_of_bpp : bits_per_pixel -> intval read_info_header :
ImageUtil.chunk_reader ->
(bitmap_info_header, [> errors ]) Stdlib.resultval read_bitfield_palette :
FileHeader.t ->
bitmap_info_header ->
ImageUtil.chunk_reader ->
(bitfields option * string option, [> errors ]) Stdlib.resultval read : ImageUtil.chunk_reader -> (t, [> errors ]) Stdlib.result