Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas008.isp.belgacom.be (localhost [127.0.0.1])
        by inav018.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k9GM0f20001818
        for <joris.at.lebbeke@skynet.be>; Tue, 17 Oct 2006 00:00:41 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.4.218])
        by inas008.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k9GM0NOV018905
        for <joris.at.lebbeke@skynet.be>; Tue, 17 Oct 2006 00:00:34 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx015.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k9GM0LsO026759
        for <joris.at.lebbeke@skynet.be>; Tue, 17 Oct 2006 00:00:22 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k9GLlouK019782;
	Mon, 16 Oct 2006 17:48:17 -0400
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k9GLllra019779
	for <tiff@lists.maptools.org>; Mon, 16 Oct 2006 17:47:47 -0400
Received: by ug-out-1314.google.com with SMTP id z35so1086359ugc
	for <tiff@lists.maptools.org>; Mon, 16 Oct 2006 14:47:46 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=rbW/P1uBhvdIvZlSQ9ZEfxS9RQriLeLV0pN0JTxWIVPk6Lr4Xsln3+SEPkeUw5JRAirk/FY0y78oFWbFivzXjbsjj3tJiOUGEbTRkIcyHcQtWHwAChqVr8VT+6sHZ/GA1k7zoIgBuCXi044zaRB/bUlg8eU0jwhGe3eruaC+jhQ=
Received: by 10.78.203.15 with SMTP id a15mr8348412hug;
	Mon, 16 Oct 2006 14:47:45 -0700 (PDT)
Received: by 10.78.171.20 with HTTP; Mon, 16 Oct 2006 14:47:45 -0700 (PDT)
Message-ID: <656f8fef0610161447g77e61b81i8d29738e0c565491@mail.gmail.com>
Date: Mon, 16 Oct 2006 17:47:45 -0400
From: "Ross Presser" <rpresser@gmail.com>
To: Joris <joris.at.lebbeke@skynet.be>
Subject: Re: [Tiff] Tag 346
In-Reply-To: <000e01c6f169$7fa04db0$4fb7f651@dfgrrxsknr4e>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <656f8fef0610161334v4d6176c6k2e71b083d70c25f0@mail.gmail.com>
	<000e01c6f169$7fa04db0$4fb7f651@dfgrrxsknr4e>
Cc: TIFF mailing list <tiff@lists.maptools.org>
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
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>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001c0b
X-MSP-STORE: Tue, 17 Oct 2006 00:00:44 --21-99
Status:   

Joris,

> Ross Presser wrote:
> > Is there any extant software anywhere that implements this, either for
> > writing or reading? (I have some hints that Pagemaker supported it at
> > some point.)
> >
> > Also, are there any sample images anywhere?
>
> To the best of my knowledge, that's a 'no' on both questions. I've never
> seen any file come my way that uses the Indexed tag. I can write it with
> my proprietary codec, but I'm careful to not let those experimental
> files escape into the wild and would not want to ship a version of my
> codec that writes them to anyone.
>
> I believe the design of the 'Indexed' tag is not without serious flaws.
> For one thing, it changes the meaning of the other most crucial tags.
[snippage]

Thanks for that information.  It certainly makes sense then; the tag
was proposed without having been fully thought out, so it never got
used.

The reason I asked is slightly off topic for TIFF, in fact. As you
probably know, the PDF spec does support Indexed images in any
colorspace defined in the PDF. In fact, the default profile for Adobe
Distiller will automatically convert *all* images in the source to
indexed images as long as the total color count is less than 256. This
can yield some terrific compression: the files in my workflow each
contain a single 8636x9144 pixel bitmap that uses only three colors --
black, white, and 100% magenta; the file sizes range from under a
megabyte to about three megabytes. It's perfect for this application.

But since there are apparently *zero* raster file formats that can
contain indexed CMYK images, it's impractical to do any image
manipulation on these bitmaps. Extracting them as full CMYK TIFFs
swells them to 100-315 mb.

I am considering writing a custom tool that converts them to RGB
palette on the fly, and back again. Since the colormap is so simple, I
can hardcode it into the tool and not worry about losing any color
information in either direction.

Thanks for your time.  I'll give up on the idea of using tag 346 then.
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
