AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.08.11 23:17 "From bmp to Tiff", by Bob Lakkakula
2004.08.12 14:32 "Re: From bmp to Tiff", by Bob Friesenhahn
2004.08.12 15:05 "Re: From bmp to Tiff", by Joris Van Damme
2004.08.12 15:15 "Re: From bmp to Tiff", by Jay Berkenbilt
2004.08.12 15:38 "Re: From bmp to Tiff", by Joris Van Damme
2004.08.12 15:23 "Re: From bmp to Tiff", by Bob Friesenhahn
2004.08.12 15:49 "Re: From bmp to Tiff", by Joris Van Damme
2004.08.12 17:05 "Re: From bmp to Tiff", by Chris Cox
2004.08.12 21:07 "Re: From bmp to Tiff", by Andrey Kiselev
2004.08.12 21:58 "Re: From bmp to Tiff", by Joris Van Damme
2004.08.12 23:05 "Re: From bmp to Tiff", by Bob Friesenhahn
2004.08.12 23:21 "Re: From bmp to Tiff", by Joris Van Damme

2004.08.12 15:15 "Re: From bmp to Tiff", by Jay Berkenbilt

I wrote some example code that includes an area-averaging algorithm
for the purposes of demonstrating it to a potential customer.  The
purpose of my algorithm was to be able to downsample an image reading
as little of the image into memory at a time as was possible.  I came
up with the algorithm myself not realizing it was a standard approach
and thought about it in terms of pouring paint from one set of
containers into another set of containers.  My code includes copious
comments describing how to think about the algorithm.  The entire
source is about 350 lines including comments and blank lines, about
200 lines ignoring them.  There is also a trivial example program that
scales binary pgm or ppm files with it.  It would be easy to use this
program to scale tiffs.  In fact, I originally wrote it for that
purpose.

I'd be happy to share this code with any individual who wants it, post
it to the list, or put it somewhere and post a link.  Let me know if
you're interested.

-- 
Jay Berkenbilt <ejb@ql.org>
http://www.ql.org/q/