Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx011.isp.belgacom.be (inmx011.isp.belgacom.be [195.238.3.50])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iBCAikUt010180
        for <joris.at.lebbeke@skynet.be>; Sun, 12 Dec 2004 11:44:46 +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 inmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iBCAiZfS001754
        for <joris.at.lebbeke@skynet.be>; Sun, 12 Dec 2004 11:44:37 +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 593A84FEDBF; Sun, 12 Dec 2004 05:44:24 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from pier.botik.ru (pier.botik.ru [193.232.174.1])
	by xserve.flids.com (Postfix) with ESMTP id ECDF54FED9C
	for <tiff@remotesensing.org>; Sun, 12 Dec 2004 05:44:21 -0500 (EST)
Received: from dot.pereslavl.ru ([192.168.58.7]:3364)
	by pier.botik.ru with esmtp (Exim 4.24) id 1CdRD3-0004jy-1W
	for tiff@remotesensing.org; Sun, 12 Dec 2004 13:44:13 +0300
Date: Sun, 12 Dec 2004 13:44:18 +0300
From: "Artem Y. Pervin" <versus@dot.pereslavl.ru>
X-Mailer: The Bat! (v2.10.01) UNREG / CD5BF9353B3B7091
Organization: Program Systems Insitute RAS
X-Priority: 3 (Normal)
Message-ID: <985465320.20041212134418@dot.pereslavl.ru>
To: tiff@remotesensing.org
MIME-Version: 1.0
Content-Type: text/plain; charset=Windows-1251
Content-Transfer-Encoding: 8bit
Subject: [Tiff] Question about colormap
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: "Artem Y. Pervin" <versus@dot.pereslavl.ru>
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: 6f19ac767fc4ba1ffd6caebc82526dd0

Hello, everyone.

I`ve a little question about TIFF`s colormap.
Suppose I got RGBA raster (width*height) somehow, and now wish to
store it in a file, using just one byte per pixel and a colormap. Is
there are any issues (I failed to find :( ) about working with
palettes in libtiff?

Actually I`m interesting in how to generate a colormap. Suppose I know
every different color in my raster, and amount of these colors is
always less than 255, so its not gonna be a big problem to make such
colormap, but how would I store it into TIFF, and then how to store original
raster?

Thanks!
  

-- 
С уважением,
Первин Артем
mailto:versus@dot.pereslavl.ru

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
