Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-f.b-one.net (mx-f.one.com [91.198.169.53])
	by mail9.b-one.net (Postfix) with ESMTP id D03F240013D
	for <info@awaresystems.be>; Mon, 15 Jun 2009 02:04:43 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-f.b-one.net (Postfix) with ESMTP id 51931280008E
	for <info@awaresystems.be>; Mon, 15 Jun 2009 02:04:43 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 969831D18B0ED;
	Sun, 14 Jun 2009 19:04:12 -0500 (EST)
Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net
	[69.17.117.10])
	by lists.maptools.org (Postfix) with ESMTPS id 5CC231D18DFD4
	for <tiff@lists.maptools.org>; Sun, 14 Jun 2009 19:00:55 -0500 (EST)
Received: (qmail 29930 invoked from network); 15 Jun 2009 00:00:53 -0000
Received: from 25-76-42-72.skybeam.com (HELO [192.168.2.16])
	(scott_ribe@killerbytes.com@[72.42.76.25])
	(envelope-sender <scott_ribe@killerbytes.com>)
	by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA
	encrypted SMTP
	for <neupane.keshab@yahoo.com>; 15 Jun 2009 00:00:53 -0000
User-Agent: Microsoft-Entourage/11.4.0.080122
Date: Sun, 14 Jun 2009 18:00:51 -0600
From: Scott Ribe <scott_ribe@killerbytes.com>
To: Keshab Neupane <neupane.keshab@yahoo.com>,
	<tiff@lists.maptools.org>
Message-ID: <C65AEB53.BA8A0%scott_ribe@killerbytes.com>
Thread-Topic: [Tiff] Tiff 16 bit and 32 bit images
Thread-Index: AcntTFg1ltYo4lk/Ed6qsgAZ4/ivFg==
In-Reply-To: <603813.18556.qm@web111818.mail.gq1.yahoo.com>
Mime-version: 1.0
Subject: Re: [Tiff] Tiff 16 bit and 32 bit images
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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

You'd certainly get further if you actually allocated destination before
copying to it ;-)

Also, the way you're walking through buffer makes no sense at all.

-- 
Scott Ribe
scott_ribe@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice


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