| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
2009.07.07 17:39 "Re: Tiff Digest, Vol 62, Issue 5", by Richard NoldeKevin,
The version of tiffcrop that was distributed with libtiff-3.8.2 is
very old indeed. If you type tiffcrop -v, the current release should show:
tiffcrop -v
Tiffcrop version: 2.0, last updated: 02-12-2009.
Tiffcp code: Copyright (c) 1988-1997 Sam Leffler.
: Copyright (c) 1991-1997 Silicon Graphics, Inc.
Tiffcrop additions: Copyright (c) 2007-2009 Richard Nolde.
Please download the current code from CVS for 3.9 or 4.0 if you need
BIGTIFF support. I don't have a build of the old release around any
more, but I am fairly certain that your command line should work unless
there are issues with the original TIFF files. I had to put a patch
into the original code that handled the case where no resolution unit is
specified and may be the issue. If you send me the results of running
tiffinfo on the file it might help.
If you cannot download the current source from CVS, please let me
know and I can send it to your directly. I don't have a Windows build of
libtiff as I work on Linux and AIX, but I could try to cross compile a
tiffcrop executable at some point. Lacking any access to or need for
Microsoft tools, I doubt that it would match the distributed version.
Richard Nolde
tiffcrop author
> Today's Topics:
>
> 1. tiffcrop using incorrect units (Kevin Myers)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 6 Jul 2009 19:38:47 -0500
> From: "Kevin Myers" <kmyers1@clearwire.net>
> Subject: [Tiff] tiffcrop using incorrect units
> To: <tiff@lists.maptools.org>
> Message-ID: <68D95D5E839040D4B04962B7DC31E266@KAM1720>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I am attempting to use the tiffcrop utility to crop some extremely large
> images (multi-hundred megapixel) so that I can process the resulting
> smaller images in an OCR application. Unfortunately, tiffcrop seems to be
> ignoring or misinterpreting the pixel units that I have specified using
> the -U option. Here is the command that I used:
>
> tiffcrop -i -E top -U px -X 2400 -Y 4800 oldfile.tif newfile.tif
>
> I am using libtiff version 3.8.2 under Windows XP. Based on results with
> different -X and -Y values, it appears that tiffcrop is interpreting the
> values as inches rather than pixels.
>
> Am I doing something wrong?
>
> Thanks,
> Kevin M.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.maptools.org/mailman/private/tiff/attachments/20090706/7ecfbdf3/attachment-0001.htm
>
>
> ------------------------------
>
> _______________________________________________
> Tiff mailing list
> Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
>
> End of Tiff Digest, Vol 62, Issue 5
> ***********************************
>
>
>
|
|||||||