From: Florent Monnier <fmonnier@linux-nantes.fr.eu.org>
To: caml-list@yquem.inria.fr
Cc: "Jonathan Roewen" <jonathan.roewen@gmail.com>
Subject: Re: [Caml-list][HS] dump in camlimages
Date: Fri, 14 Apr 2006 11:22:14 +0200 [thread overview]
Message-ID: <200604141122.15386.fmonnier@linux-nantes.fr.eu.org> (raw)
In-Reply-To: <8764lcit56.wl%furuse@yl.is.s.u-tokyo.ac.jp>
> > 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
prev parent reply other threads:[~2006-04-14 9:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 13:24 [Caml-list] " Jonathan Roewen
2006-04-14 6:11 ` Jun Furuse
2006-04-14 9:22 ` Florent Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200604141122.15386.fmonnier@linux-nantes.fr.eu.org \
--to=fmonnier@linux-nantes.fr.eu.org \
--cc=caml-list@yquem.inria.fr \
--cc=jonathan.roewen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox