Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-j.b-one.net (mx-j.one.com [91.198.169.57])
	by mail9.b-one.net (Postfix) with ESMTP id 27167400161
	for <info@awaresystems.be>; Tue, 31 May 2011 15:47:55 +0200 (CEST)
Received: by mx-j.b-one.net (Postfix, from userid 106)
	id 149CD2E648B; Tue, 31 May 2011 15:47:29 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-j.b-one.net (Postfix) with ESMTP id 19428259AD6 for
 <info@awaresystems.be>; Tue, 31 May 2011 15:47:01 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 0CD2586EAC; Tue, 31 May 2011
 08:45:00 -0500 (EST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com
 [209.85.210.172]) by lists.maptools.org (Postfix) with ESMTPS id 4B53F86D6A
 for <tiff@lists.maptools.org>; Tue, 31 May 2011 08:02:47 -0500 (EST)
Received: by iyn15 with SMTP id 15so4290823iyn.3 for
 <tiff@lists.maptools.org>; Tue, 31 May 2011 06:02:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.42.224.132 with SMTP id io4mr3993458icb.193.1306846965886;
 Tue, 31 May 2011 06:02:45 -0700 (PDT)
Received: by 10.231.15.140 with HTTP; Tue, 31 May 2011 06:02:45 -0700 (PDT)
In-Reply-To: <BANLkTikPwAxnzCRXaghgGs+kU3TssrMHUA@mail.gmail.com>
References: <BANLkTimw4-crmTq8fQR5zpA4+1iM2Rb6dw@mail.gmail.com>
 <BANLkTikPwAxnzCRXaghgGs+kU3TssrMHUA@mail.gmail.com>
Date: Tue, 31 May 2011 15:02:45 +0200
Message-ID: <BANLkTikCo0BUiU4_zAsULNdpGFNfzj+Xsw@mail.gmail.com>
From: Jorge Martin <jormarfe@gmail.com>
To: Olivier Paquet <olivier.paquet@gmail.com>, delhoume@yahoo.com
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] Write Tile
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1167332866=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============1167332866==
Content-Type: multipart/alternative; boundary=20cf30549e9f2d706e04a4920588

--20cf30549e9f2d706e04a4920588
Content-Type: text/plain; charset=ISO-8859-1

I am so sorry. I copied this part of code from other function I have
developed before.

Many thanks for all your answers.


2011/5/31 Olivier Paquet <olivier.paquet@gmail.com>

> On Tue, May 31, 2011 at 6:54 AM, Jorge Martin <jormarfe@gmail.com> wrote:
> > Hello,
> >
> >         I am trying to write a tiled TIFF file but the
> > function TIFFWriteTile is always returning "Can not write tiles to a
> > stripped image" I have set the fields Tilewidth and TileLength and I do
> not
> [...]
> >     TIFFGetField(OutTIFF, TIFFTAG_TILEWIDTH, 128);
> >     TIFFGetField(OutTIFF, TIFFTAG_TILELENGTH,  128);
>
> You'll have better results with TIFFSetField here. Don't you love C now?
> ;-)
>
> Olivier
>

--20cf30549e9f2d706e04a4920588
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I am so sorry. I copied this part of code from other function I have develo=
ped before.<div><br></div><div>Many thanks for all your answers.<br><div><b=
r></div><div><br><div class=3D"gmail_quote">2011/5/31 Olivier Paquet <span =
dir=3D"ltr">&lt;<a href=3D"mailto:olivier.paquet@gmail.com">olivier.paquet@=
gmail.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div class=3D"im">On Tue, May 31, 2011 at 6=
:54 AM, Jorge Martin &lt;<a href=3D"mailto:jormarfe@gmail.com">jormarfe@gma=
il.com</a>&gt; wrote:<br>

&gt; Hello,<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 I am trying to write a tiled TIFF file but the<br>
&gt; function=A0TIFFWriteTile is always returning &quot;Can not write tiles=
 to a<br>
&gt; stripped image&quot; I have set the fields Tilewidth and TileLength an=
d I do not<br>
</div>[...]<br>
<div class=3D"im">&gt; =A0 =A0 TIFFGetField(OutTIFF, TIFFTAG_TILEWIDTH,=A01=
28);<br>
&gt; =A0 =A0 TIFFGetField(OutTIFF, TIFFTAG_TILELENGTH, =A0128);<br>
<br>
</div>You&#39;ll have better results with TIFFSetField here. Don&#39;t you =
love C now? ;-)<br>
<font color=3D"#888888"><br>
Olivier<br>
</font></blockquote></div><br></div></div>

--20cf30549e9f2d706e04a4920588--

--===============1167332866==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============1167332866==--
