From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 4B161BC69 for ; Mon, 22 Oct 2007 08:07:16 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFvbG0fRVYC8kmdsb2JhbACCcotlAQEBAQcEBBMW X-IronPort-AV: E=Sophos;i="4.21,309,1188770400"; d="scan'208";a="18445202" Received: from fk-out-0910.google.com ([209.85.128.188]) by mail4-smtp-sop.national.inria.fr with ESMTP; 22 Oct 2007 08:07:16 +0200 Received: by fk-out-0910.google.com with SMTP id b27so1358529fka for ; Sun, 21 Oct 2007 23:07:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=FkOkZHa3ay/ZbSas9xU8DpobbvKd2wRjXG7l6WKlX1g=; b=AhGTOeCGFUFcVr/JcOK3ItZn9YsQ9WIdq9L1NUdfpOQo3UE7aB9KmxaYe1bbwSvtQLLI8y/1EiUHoh2iHFL27JgxkEryMQj5TSp15i5Dyo6tBnpkEEUB55RzyYgstv31boGTHqAiNIQyq+U7nEamxUayc707gYFxNrA2/EoUf6s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Rt5zKKljacAG8w0fyFtAgyJjopEUaX68xN6ZFEPzuRoyg5VVSLeWQ2a2MS4ymnIt17RkWSMwPOTrLNcL6gForL30PmvupwMpG65ibvPqreRa8lxMCDYOXlKVCyp4O2ST6/qqcIfWbYYPxpNmPWebLQOYK1X1MV84RuoLhGHFgr0= Received: by 10.82.172.10 with SMTP id u10mr1449771bue.1193033234864; Sun, 21 Oct 2007 23:07:14 -0700 (PDT) Received: by 10.82.120.16 with HTTP; Sun, 21 Oct 2007 23:07:14 -0700 (PDT) Message-ID: Date: Mon, 22 Oct 2007 02:07:14 -0400 From: "Orlin Grigorov" To: caml-list@yquem.inria.fr Subject: joining two GlPix's together MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18675_28570982.1193033234804" X-Spam: no; 0.01; glpix:01 glpix:01 height:98 height:98 width:97 width:97 let:03 let:03 problem:05 problem:05 rgb:93 rgb:93 create:12 create:12 question:13 ------=_Part_18675_28570982.1193033234804 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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! ------=_Part_18675_28570982.1193033234804 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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!
------=_Part_18675_28570982.1193033234804--