AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.01.21 19:38 "[Tiff] How to clip an image with LibTiff", by
2008.01.22 10:24 "Re: [Tiff] How to clip an image with LibTiff", by Gerben Vos
2008.01.22 10:38 "[Tiff] Q: Change single pixels in a tiled Tiffs", by Timur Ametov
2008.01.23 20:18 "[Tiff] Change single pixels in a tiled Tiff-image", by Timur Ametov
2008.01.24 12:14 "Re: [Tiff] Change single pixels in a tiled Tiff-image", by Andrey Kiselev
2008.01.24 12:35 "Re: [Tiff] Change single pixels in a tiled Tiff-image", by Andy Cave
2008.01.22 20:39 "Re: [Tiff] How to clip an image with LibTiff", by Andrey Kiselev
2008.01.22 22:30 "[Tiff] Re: Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Richard Nolde
2008.01.22 23:59 "Re: [Tiff] Re: Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Andy Cave
2008.01.23 00:39 "[Tiff] Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Richard Nolde
2008.01.23 10:51 "[Tiff] Re: Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Andy Cave
2008.01.24 05:23 "[Tiff] TIffcrop might be called tiffextract", by Richard Nolde
2008.01.24 12:07 "Re: [Tiff] TIffcrop might be called tiffextract", by Andrey Kiselev
2008.01.24 12:32 "Re: [Tiff] TIffcrop might be called tiffextract", by Andy Cave
2008.01.25 14:41 "Re: [Tiff] Tiffcrop and tiff2pdf", by beppe costagliola
2008.01.24 16:09 "[Tiff] How to clip an image with Tiffcrop", by beppe costagliola
2008.01.25 05:52 "[Tiff] Tiffcrop and tiff2pdf", by Richard Nolde
2008.01.25 09:25 "Re: [Tiff] Tiffcrop and tiff2pdf", by beppe costagliola
2008.01.26 00:03 "Re: [Tiff] Tiffcrop and tiff2pdf", by Richard Nolde
2008.01.29 04:17 "[Tiff] Problems with tiffcrop", by Richard Nolde

2008.01.22 22:30 "[Tiff] Re: Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Richard Nolde

1. How to clip an image with LibTiff (Erez.Har-Tal@Walgreens.com)

> Tiffcrop was written to handle just this sort of thing. It is in the utilities section of recent releases and/or in CVS. Read the man page or type tiffcrop --help to see all the options.

>
Richard Nolde, tiffcrop author
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 21 Jan 2008 13:38:09 -0600
> From: Erez.Har-Tal@Walgreens.com
> Subject: [Tiff] How to clip an image with LibTiff

> To: tiff@lists.maptools.org

> Message-ID:
> <OFFC203445.FE96EEE5-ON862573D7.006ADF71-862573D7.006BDDBF@walgreens.com>
>
> Content-Type: text/plain; charset=US-ASCII

Please excuse me if I am new to libtiff, so any help would be appreciated.

We deal with faxes in standard mode (204X98 dpi) or fine mode (204X198 dpi) saved with compression of type G3 1D.

I need to write a utility that clips the first X rows (pixel) from the top of the tiff image and last X rows from the bottom of the tiff image. We will save it to a new tiff image with G3 compression in the height of 2X pixels. The first X rows will be the top of the new image and the last X rows will be the bottom of the image. The operation to clip the image, should not alter the image nor do any thing that would damage the image.

Is it doable using libtiff on Unix? Any help and direction will be highly appreciated. Doable using other open source libraries?