1. camlspotter
  2. camlimages
  3. Issues
Issue #3 new

Load / Save images in memory

Matthew Tovbin
created an issue

IMO, It would be handy to add support for loading / saving image functions that receive the whole image as a string, instead of reading / writing it from the disk with a filename. Similar to gdImageCreateFromJpegPtr in GD library.

Comments (3)

  1. camlspotter repo owner

    As far as I understand this requires substantial amount of work for each image loader/saver, and the author has no enough time for it. Could you contribute?

  2. camlspotter repo owner

    Note: OCaml string has a length limit which is relatively small for a big image, in 32bit arch. I must be aware of it when I implement this feature.

  3. Log in to comment