From: "Orlin Grigorov" <ogrigorov@gmail.com>
To: caml-list@yquem.inria.fr
Subject: joining two GlPix's together
Date: Mon, 22 Oct 2007 02:07:14 -0400 [thread overview]
Message-ID: <b17e12b30710212307k77eb360ehbb41bc799db94fc2@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
Hi. It's me again and my peculiar needs ;)
At hand is the following problem. Let's assume that we have the following:
let image1 = GlPix.create `ubyte ~format:`rgb ~width:100 ~height:100 in
.
(* some code *)
.
let image2 = GlPix.create `ubyte ~format:`rgb ~width:100 ~height:100 in
.
(* some code *)
.
let image3 = GlPix.create `ubyte ~format:`rgb ~width:200 ~height:100 in
(* ?????????? *)
The question marks are to be filled with code, which will join image1 and
image2 together (will glue them one next to the other), and the result will
be stored in image3 (notice how the width is the sum of the other two
widths).
Please help!
[-- Attachment #2: Type: text/html, Size: 1508 bytes --]
next reply other threads:[~2007-10-22 6:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-22 6:07 Orlin Grigorov [this message]
2007-10-22 7:46 ` Orlin Grigorov
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=b17e12b30710212307k77eb360ehbb41bc799db94fc2@mail.gmail.com \
--to=ogrigorov@gmail.com \
--cc=caml-list@yquem.inria.fr \
/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