Return-Path: <tiff-bounces@lists.maptools.org>
Received: from mailgate106.isp.belgacom.be (mailgate106.isp.belgacom.be [195.238.6.87])
        by inmx013.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l49DQI5X002872
        for <joris.at.lebbeke@skynet.be>; Wed, 9 May 2007 15:26:19 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 09 May 2007 15:26:13 +0200
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 l49DHJhb005861;
	Wed, 9 May 2007 09:17:31 -0400
Received: from toronto2.smartgames.ca (toronto2.smartgames.ca [204.15.192.18])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l49DHHO4005858
	for <tiff@lists.maptools.org>; Wed, 9 May 2007 09:17:17 -0400
Received: from [10.143.176.18] (unknown [10.143.176.18])
	by toronto2.smartgames.ca (Postfix) with ESMTP id B4B28914;
	Wed,  9 May 2007 09:19:09 -0400 (EDT)
In-Reply-To: <546908564.1178714432.172237120.57778@mcgi22.rambler.ru>
References: <546908564.1178714432.172237120.57778@mcgi22.rambler.ru>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <BEF94214-A903-472A-B275-B1AA35861D35@smartgames.ca>
Content-Transfer-Encoding: 7bit
From: Toby Thain <toby@smartgames.ca>
Subject: Re: [Tiff] using tif_jpeg
Date: Wed, 9 May 2007 09:17:14 -0400
To: Roman Kazmin <kata@rambler.ru>
X-Mailer: Apple Mail (2.752.2)
Cc: 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.00002373
X-MSP-STORE: Wed, 09 May 2007 15:26:29 +0200
Status:   


On 9-May-07, at 8:40 AM, Roman Kazmin wrote:

> Hi all.
> I have one question about using of libtiff library.
> I see that this library contains functions to write/read tiff files  
> with
> jpeg compressing. I'm talking about tif_jpeg.c. But I cannot  
> understand
> how can I use it.

Give the appropriate value to the COMPRESSION tag:
	TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_JPEG);

> I didn't find any documentation about it. Could you
> explain me.
> And second question. What really do these functions? Create tiff file
> this jpeg compression?

Yes.

--Toby

> Create jpeg file?
> Thank's.
> --
> Roman Kazmin.
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/

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