Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx019.isp.belgacom.be (inmx019.isp.belgacom.be [195.238.3.138])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j1P8LoHF025641
        for <joris.at.lebbeke@skynet.be>; Fri, 25 Feb 2005 09:21:50 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx019.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j1P8LgEY029690
        for <joris.at.lebbeke@skynet.be>; Fri, 25 Feb 2005 09:21:43 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id AF11BD6ED69; Fri, 25 Feb 2005 03:21:21 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207])
	by xserve.flids.com (Postfix) with ESMTP id 443F7D6ED46
	for <tiff@remotesensing.org>; Fri, 25 Feb 2005 03:21:19 -0500 (EST)
Received: by wproxy.gmail.com with SMTP id 68so395844wra
	for <tiff@remotesensing.org>; Fri, 25 Feb 2005 00:21:15 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
	b=Elj4bbeQUCDYFCdrZFYjpRR/Rq9CUGBO/I62/NB0Ux+cYbC2caN55Vvfw1BO9sSlX4nSypaGTicpkiOWqj8gItwyec0BCgUT/rW+APziLoCPQcFCe+Kq4e9kv1ynFki6TsmBeq0PwJQdo9ULQc0ezJMrkgypHdAyqPfuJjuzVio=
Received: by 10.54.3.2 with SMTP id 2mr8238wrc;
	Fri, 25 Feb 2005 00:21:15 -0800 (PST)
Received: by 10.54.14.8 with HTTP; Fri, 25 Feb 2005 00:21:15 -0800 (PST)
Message-ID: <78bc1718050225002134704e5a@mail.gmail.com>
Date: Fri, 25 Feb 2005 13:51:15 +0530
From: Priyanshu Sharma <priyanshu.sharma@gmail.com>
To: tiff@remotesensing.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: [Tiff] How to get a thumbnail View for a single page TIFF file.
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: Priyanshu Sharma <priyanshu.sharma@gmail.com>
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: e978710360f56efab07b4c6e25df103c

Hi all,

I am working with  LibTiff library version 3.6.1.
currently i am facing a problem regarding generation of thumbnail view
for a single page tiff  file.

if I  comment out this function call from the code "TIFFSetField(out,
TIFFTAG_SUBIFD, 1, diroff);" ( its present in the function defination
of ShowThumbnail() function )
and set the page no i want to view as thumbnail by function TIFFSetDirectory(). 

I am getting 2 pages tiff file where first page is the thumbnail for
the required page and second page is the actuall page for which i want
the thumbnail view.

i am not able to find relevent information abt tag no 330 also.. if
any one has some thing relevent plz post it or mail it to me.

Thankx in advance
Priyanshu
BITS, Pilani
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
