Return-Path: <tiff-bounces@lists.maptools.org>
Delivered-To: info@awaresystems.be
Received: (qmail 13190 invoked from network); 22 Oct 2008 23:34:10 -0000
Received: from judy.telenet-ops.be ([195.130.136.7])
          (envelope-sender <tiff-bounces@lists.maptools.org>)
          by angelia.telenet-ops.be (qmail-ldap-1.03) with SMTP
          for <info@awaresystems.be>; 22 Oct 2008 23:34:10 -0000
Received: from mindy.telenet-ops.be (mindy.telenet-ops.be [195.130.136.8])
	by judy.telenet-ops.be (8.13.1/8.13.1) with ESMTP id m9MNYA9d003180
	for <info@awaresystems.be>; Thu, 23 Oct 2008 01:34:10 +0200
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mindy.telenet-ops.be (Postfix) with SMTP id 2440B60003
	for <info@awaresystems.be>; Thu, 23 Oct 2008 01:34:10 +0200 (CEST)
Received: from ladon.telenet-ops.be (ladon.telenet-ops.be [195.130.132.50])
	by mindy.telenet-ops.be (Postfix) with ESMTP id 1D2D160002
	for <info@awaresystems.be>; Thu, 23 Oct 2008 01:34:10 +0200 (CEST)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153])
	by ladon.telenet-ops.be (Postfix) with ESMTP id ACA3F312773
	for <info@awaresystems.be>; Thu, 23 Oct 2008 01:34:09 +0200 (CEST)
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 m9MNVlrb008169;
	Wed, 22 Oct 2008 19:32:29 -0400
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m9MNVjme008166
	for <tiff@lists.maptools.org>; Wed, 22 Oct 2008 19:31:45 -0400
Received: by mu-out-0910.google.com with SMTP id w1so39283mue.9
	for <tiff@lists.maptools.org>; Wed, 22 Oct 2008 16:31:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:cc:message-id:from:to
	:in-reply-to:content-type:content-transfer-encoding:mime-version
	:subject:date:references:x-mailer;
	bh=S7hUwtIUpMvGFPFnS8UIHyOl5I1JInZ09+8m+FSmgFs=;
	b=abygvlupXLYhdDqbutqw8UKGMOdbxjrL+CZNvi1z+LWNK0yvEUOlHvL/QivYHH8/0t
	BFzToFSUcVQ/JuXigviHeVj1bpLA4w6kBZAXwKYdOpI/cQ81PobSf9PA3ZYDsWe+lFob
	+KdKSQkTr8b+0FfkmooX235I4LoeSpWcSG31c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=cc:message-id:from:to:in-reply-to:content-type
	:content-transfer-encoding:mime-version:subject:date:references
	:x-mailer;
	b=Kkxg67naoTBgXhE7DL4a/3KnTZecZwNHS3ZpnokHyLV1UUd5Ed5jiJXxrTswY8srxt
	6e2gXFrdjj5lUOj1xzO0BniYlRrKMQbGOnoYJBNPWDKCqbbkeZAloHSa8z38to1/Nr/N
	QeV9Kbj2xuoBn72m4bqbZ0QzdefhE6zldaJm0=
Received: by 10.181.50.1 with SMTP id c1mr3477744bkk.3.1224718302913;
	Wed, 22 Oct 2008 16:31:42 -0700 (PDT)
Received: from ?192.168.0.3? (rlemoine.pck.nerim.net [213.41.255.85])
	by mx.google.com with ESMTPS id 35sm12176584fkt.12.2008.10.22.16.31.41
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Wed, 22 Oct 2008 16:31:41 -0700 (PDT)
Message-Id: <36825114-1477-4F2C-8115-23AB17B41F34@gmail.com>
From: =?ISO-8859-1?Q?Rapha=EBl_Lemoine?= <lemoine.raphael@gmail.com>
To: Frank Warmerdam <warmerdam@pobox.com>
In-Reply-To: <48FFB45E.9090209@pobox.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v929.2)
Subject: Re: [Tiff] JPEGSetupEncode messages
Date: Thu, 23 Oct 2008 01:31:40 +0200
References: <30e395780810221412x2e39ecdfi3a9af9e0a46bd291@mail.gmail.com>
	<48FFB45E.9090209@pobox.com>
X-Mailer: Apple Mail (2.929.2)
Cc: Jeffrey Ratcliffe <jeffrey.ratcliffe@gmail.com>, 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-SpamCatcher-Score: 50 [XX]

Hello,

On Oct 23, 2008, at 1:16 AM, Frank Warmerdam wrote:

> Jeffrey Ratcliffe wrote:
>> I have tiff output from a scanner with which I would like use
>> libtiff's jpeg compression via tiffcp. For a greyscale scan, however,
>> I am getting:
>> JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG
>
> Jeff,
>
> I would suggest selecting a RowsPerStrip value that is a multiple
> of 8.
>
>> and for colour scans:
>> JPEGSetupEncode: BitsPerSample 16 not allowed for JPEG
>> What can I do to make this work?
>
> It is quite challenging to manage 16bit data with JPEG compression.
> How badly do you want to do this?
>

AFAIK, there is no such thing as 16-bits per channels in the JPEG  
standard (only 8 and 12 bits are allowed).
With the IJG library, this can only be selected at compile time...

Best regards,

Raphael

> Best regards,
> -- 
> --------------------------------------- 
> +--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for  
> Rent
>
> _______________________________________________
> 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/
