[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-04-14 (09:20) |
From: | Florent Monnier <fmonnier@l...> |
Subject: | Re: [Caml-list][HS] dump in camlimages |
> > Do the dump functions in the camlimages library basically create a > > string equivalent to an RAW image file? > Yes. > > RGBRGB... stream for 24bit-depth image for example. Size is equal to > 3 x width x height. (maybe you don't mind, but just in case) there are such features in OCaml/ImageMagick too. you can load all the image data (in jpg, png, raw, etc..) in a string (which is usefull for exemple to send an image to a web browser from a cgi-bin) you can get all the data in a BigArray too for direct exchange of data between ImageMagick and OCaml (which feature is only available in the devel version of the binding yet) Florent