Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery021.isp.belgacom.be (Postfix) with ESMTP id B0D973C40DE
	for <joris.at.lebbeke@skynet.be>; Sat, 26 Jan 2008 01:23:54 +0100 (CET)
Authentication-Results: in.mx.skynet.be; dkim=neutral (message not signed) header.i=none
Received: from unknown (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 26 Jan 2008 01:23:53 +0100
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 m0Q035Vf024678;
	Fri, 25 Jan 2008 19:03:37 -0500
Received: from mpls-qmqp-01.inet.qwest.net (mpls-qmqp-01.inet.qwest.net
	[63.231.195.112])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m0Q0326S024675
	for <tiff@lists.maptools.org>; Fri, 25 Jan 2008 19:03:02 -0500
Received: from mpls-pop-01.inet.qwest.net (mpls-pop-01.inet.qwest.net
	[63.231.195.1]) by mpls-qmqp-01.inet.qwest.net (Postfix) with QMQP
	id 5B5681A9AD3; Sat, 26 Jan 2008 00:02:53 +0000 (UTC)
Received: from 70-59-61-250.hlrn.qwest.net (HELO ?127.0.0.1?) (70.59.61.250)
	by mpls-pop-01.inet.qwest.net with SMTP; 26 Jan 2008 00:02:53 -0000
Message-ID: <479A78C3.8080401@qwest.net>
Date: Fri, 25 Jan 2008 17:03:15 -0700
From: Richard Nolde <nrichard8@qwest.net>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: beppe costagliola <beppecosta@yahoo.it>,
        Tiff List <tiff@lists.maptools.org>
Subject: Re: [Tiff] Tiffcrop and tiff2pdf
References: <509766.67941.qm@web26205.mail.ukl.yahoo.com>
In-Reply-To: <509766.67941.qm@web26205.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
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.00002a29
X-MSP-STORE: Sat, 26 Jan 2008 01:23:54 +0100
Status: RO

Beppe,
   There may have been some bugs in the original release but no one else 
has reported this problem.  Could you send me the image in question or a 
URL where I can download it?
Your images may lack some tags that are needed to compute the proper 
offsets.  Please send a Tiffinfo and Tiffdump for the files before and 
after running Tiffcrop directly to me.
Also run tiffcrop --help and send me the output.

  The margins are calculated as the number of Pixels/Inches/Cm that you 
wish to remove from the image.

  Left would be your X coordinate of the origin
  Top would be your Y coordinate of the origin
  Bottom would be Height - Top margin - Image Height
  Right would be Width - Left - Image width.

   My bar code reader may be available at some point (I have to check 
with my boss) but it only reads code128 bar codes.

   My environment is AIX 5.3 on an IBM P570 and I have had no issues 
with my code on AIX or Linux on Intel.

  Have you tried downloading the CVS release of libtiff and extracting 
Tiffcrop.c from it?

Richard
beppe costagliola wrote:
> Hi Richard,
>
> I'm trying to crop other areas from the image but I've
>  some problems.
>
> First it seems that the -X and -Y flag have no effect.
> Starting from your suggested parameters (option 2): 
> tiffcrop -E top -U px -m 1200,100 -X 1500 -Y 500
> the progmam always generate the same distorted image
> witt any value of XY (even if they are missing the
> resulting image is the same).
>
> The parameter in the option 1 
> -m 1200,100,1804,876
> gives a clear image; I've tried with different
> top,left values and the topleft area varies
> accordingly but I cannot understand hou to calculate
> the bottom,right values.
>
> Thanks.
> Giuseppe.
>
>
>       ___________________________________ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
>
>
>   
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
