caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* joining two GlPix's together
@ 2007-10-22  6:07 Orlin Grigorov
  2007-10-22  7:46 ` Orlin Grigorov
  0 siblings, 1 reply; 2+ messages in thread
From: Orlin Grigorov @ 2007-10-22  6:07 UTC (permalink / raw)
  To: caml-list

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-22  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-22  6:07 joining two GlPix's together Orlin Grigorov
2007-10-22  7:46 ` Orlin Grigorov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).