[Image-SIG] ANN: pytiff 0.1.3
Oliver M. Haynold
oliver60201 at hotmail.com
Mon Aug 30 15:49:45 CEST 2004
Hello:
I have written pytiff, a little library to read and write TIFF files with
python. Pytiff also provides some simple filters. It is independent of
PIL, but the two can interoperate easily. Here is a simple program that
crops all pages of a TIFF file to 200 * 200:
import pytiff
reader=pytiff.TiffReader('source.tif')
writer=pytiff.TiffWriter('dest.tif')
for page in reader:
writer.append(pytiff.CropFilter(page, (0,0), (200, 200)))
Very Pythonic, isn't it? Pytiff is licensed under the GPL and available
for download at
<URL:http://pubweb.northwestern.edu/~omh221/software_projects/pytiff/>.
Have fun!
Oliver
--
For an email address I check more regularly, see
<URL:http://pubweb.northwestern.edu/~omh221/>.
More information about the Image-SIG
mailing list