package imagelib

  1. Overview
  2. Docs
Library implementing parsing of image formats such as PNG, BMP, PPM

Install

Dune Dependency

Authors

Maintainers

Sources

imagelib-20210116.tbz
sha256=e8be5acf0fe38d840331fe505db090b3b2e36089d012530ec9353e79d8ab4870
sha512=d5386b5d6036293f53f5910553fb2f6898f5c7d72fde67eec1e953ac5846c6b05b061074ec237741e89cea3653fb88f4a1a0554ebb57b402a0a396882c5545ff

doc/imagelib.unix/ImageUtil_unix/index.html

Module ImageUtil_unixSource

Sourceval chop_extension' : string -> string

chop_extension' fname is the same as Filename.chop_extension fname but if fname does not have an extension, fname is returned instead of raising Invalid_argument.

Sourceval get_extension : string -> string

get_extension fname returns the extension of the file fname. If the file does not have an extension, Invalid_argument is raised.

Sourceval get_extension' : string -> string

get_extension' fname is the same as get_extension fname but if fname does not have an extension, the empty string is returned and no exception is raised.

Sourceval lines_from_channel : in_channel -> string list
Sourceval lines_from_file : string -> string list
Sourceval chunk_reader_of_in_channel : in_channel -> ImageUtil.chunk_reader
Sourceval chunk_writer_of_out_channel : out_channel -> ImageUtil.chunk_writer
Sourceval chunk_reader_of_path : string -> ImageUtil.chunk_reader
Sourceval chunk_writer_of_path : string -> ImageUtil.chunk_writer

Define an output channel for the builtin buffered output on Uix. see ImageChannels for more info

OCaml

Innovation. Community. Security.