ocaml-imagelib icon indicating copy to clipboard operation
ocaml-imagelib copied to clipboard

The imagelib library implements image formats such as PNG or PPM

Results 13 ocaml-imagelib issues
Sort by recently updated
recently updated
newest added

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...

bug

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 :-)

enhancement
help wanted

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: ![id:000051,sig:06,src:000279,op:ext_AO,pos:12](https://user-images.githubusercontent.com/9653993/65685836-3bbae900-e063-11e9-9c74-12ec2f426523.png) (`length`...

bug

(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`...

bug

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...

enhancement
help wanted