ocaml-imagelib
ocaml-imagelib copied to clipboard
The imagelib library implements image formats such as PNG or PPM
Looks like jpeg isn't supported in the code, but the readme says it is. This is very confusing to anyone looking for an image library. Am I mistaken?
After merging https://github.com/rlepigre/ocaml-imagelib/pull/43 we now have better support for transparency in the GIF format. The `imagetool` however should be updated to not paint the background color in transparent pixels in...
As evidenced in - https://github.com/rlepigre/ocaml-imagelib/issues/42 - https://github.com/rlepigre/ocaml-imagelib/pull/43 We could use some more unit tests for the GIF suite :-)
Please add examples for the base use cases, for example reading and writing an image and analyzing image data.
* Update to work with decompress 1.0.0 * Tested by reading and writing the same PNG file. * Simplified: since we already have an input/output abstraction, there's no need to...
Since we lack good functionality for combining/stacking Bigarrays (as in numpy), it would be very useful to provide functions that convert to/from the image format in this library to Bigarrays,...
(this is part of @olleolleolle + my work on a test suite for `imagelib`) Here we reach a `Fatal error: exception Invalid_argument("String.sub / Bytes.sub")` in https://github.com/rlepigre/ocaml-imagelib/blob/master/src/imagePNG.ml#L884 Trigger file:  (`length`...
(This is part of the work on a test suite for `imagelib` that @olleolleolle and I are working on.) Here's a trigger for an out-of-bounds array indexing operation in `imagePNG.ml`...
The compression methods seem to be documented at least somewhat here: - `1` / 8-bit: http://www.fileformat.info/format/bmp/corion-rle8.htm - `2` / 4-bit: http://www.fileformat.info/format/bmp/corion-rle8.htm I see `imagemagick` using these compression methods, so maybe...